HSL(54, 20%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,20%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 20%, 35%) | color: hsl(54, 20%, 35%) | |
| HEX | #6B6847 | color: #6B6847 | |
| RGB | rgb(107, 104, 71) | color: rgb(107, 104, 71) | |
| CMYK | cmyk(0%, 3%, 34%, 58%) | — | |
| HSV | hsv(55, 34%, 42%) | — | |
| HWB | hwb(55 28% 58%) | color: hwb(55 28% 58%) | |
| OKLCH | oklch(0.5112 0.0488 103.57) | color: oklch(0.5112 0.0488 103.57) | |
| Lab | lab(43.48 -4.5 19.06) | color: lab(43.48 -4.5 19.06) | |
| LCH | lch(43.48 19.58 103.28) | color: lch(43.48 19.58 103.28) |
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)
#6A6A4F — rgb(106, 106, 79)
Deuteranopia (Green-blind)
#6A6A51 — rgb(106, 106, 81)
Tritanopia (Blue-blind)
#6B5557 — rgb(107, 85, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 20%, 35%);
text
color: hsl(54, 20%, 35%);
border
border: 2px solid hsl(54, 20%, 35%);
gradient light
background: linear-gradient(to right, hsl(54, 20%, 55%), hsl(54, 20%, 35%));
gradient dark
background: linear-gradient(to right, hsl(54, 20%, 35%), hsl(54, 20%, 15%))
hex
background-color: #6B6847;
tailwind
bg-[hsl(54,20%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 20%, 35%, 0.4);
css variable
--color-primary: hsl(54, 20%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 20%, 35%)?
HEX: #6B6847 | RGB: rgb(107, 104, 71) | CMYK: 0%, 3%, 34%, 58% | HSV: 55°, 34%, 42%. Copy any format from the conversion table above.
What colors go well with #6B6847?
The complementary color is HSL(234, 20%, 35%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 20%, 35%) in CSS?
As HSL: color: hsl(54, 20%, 35%); — As HEX: color: #6B6847; — As RGB: color: rgb(107, 104, 71); — Tailwind CSS: bg-[hsl(54,20%,35%)] — CSS variable: --color-primary: hsl(54, 20%, 35%);