HSL(48, 20%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,20%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 20%, 35%) | color: hsl(48, 20%, 35%) | |
| HEX | #6B6447 | color: #6B6447 | |
| RGB | rgb(107, 100, 71) | color: rgb(107, 100, 71) | |
| CMYK | cmyk(0%, 7%, 34%, 58%) | — | |
| HSV | hsv(48, 34%, 42%) | — | |
| HWB | hwb(48 28% 58%) | color: hwb(48 28% 58%) | |
| OKLCH | oklch(0.5019 0.044 96.17) | color: oklch(0.5019 0.044 96.17) | |
| Lab | lab(42.3 -2.16 17.49) | color: lab(42.3 -2.16 17.49) | |
| LCH | lch(42.3 17.62 97.04) | color: lch(42.3 17.62 97.04) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#68684E — rgb(104, 104, 78)
Deuteranopia (Green-blind)
#686950 — rgb(104, 105, 80)
Tritanopia (Blue-blind)
#6B5455 — rgb(107, 84, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 20%, 35%);
text
color: hsl(48, 20%, 35%);
border
border: 2px solid hsl(48, 20%, 35%);
gradient light
background: linear-gradient(to right, hsl(48, 20%, 55%), hsl(48, 20%, 35%));
gradient dark
background: linear-gradient(to right, hsl(48, 20%, 35%), hsl(48, 20%, 15%))
hex
background-color: #6B6447;
tailwind
bg-[hsl(48,20%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 20%, 35%, 0.4);
css variable
--color-primary: hsl(48, 20%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 20%, 35%)?
HEX: #6B6447 | RGB: rgb(107, 100, 71) | CMYK: 0%, 7%, 34%, 58% | HSV: 48°, 34%, 42%. Copy any format from the conversion table above.
What colors go well with #6B6447?
The complementary color is HSL(228, 20%, 35%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 20%, 35%) in CSS?
As HSL: color: hsl(48, 20%, 35%); — As HEX: color: #6B6447; — As RGB: color: rgb(107, 100, 71); — Tailwind CSS: bg-[hsl(48,20%,35%)] — CSS variable: --color-primary: hsl(48, 20%, 35%);