HSL(52, 57%, 27%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,57%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 57%, 27%) | color: hsl(52, 57%, 27%) | |
| HEX | #6C621E | color: #6C621E | |
| RGB | rgb(108, 98, 30) | color: rgb(108, 98, 30) | |
| CMYK | cmyk(0%, 9%, 72%, 58%) | — | |
| HSV | hsv(52, 72%, 42%) | — | |
| HWB | hwb(52 12% 58%) | color: hwb(52 12% 58%) | |
| OKLCH | oklch(0.4919 0.0876 100.81) | color: oklch(0.4919 0.0876 100.81) | |
| Lab | lab(41.24 -4.66 38.43) | color: lab(41.24 -4.66 38.43) | |
| LCH | lch(41.24 38.71 96.91) | color: lch(41.24 38.71 96.91) |
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)
#68682E — rgb(104, 104, 46)
Deuteranopia (Green-blind)
#686932 — rgb(104, 105, 50)
Tritanopia (Blue-blind)
#6C3B3E — rgb(108, 59, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 57%, 27%);
text
color: hsl(52, 57%, 27%);
border
border: 2px solid hsl(52, 57%, 27%);
gradient light
background: linear-gradient(to right, hsl(52, 57%, 47%), hsl(52, 57%, 27%));
gradient dark
background: linear-gradient(to right, hsl(52, 57%, 27%), hsl(52, 57%, 7%))
hex
background-color: #6C621E;
tailwind
bg-[hsl(52,57%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 57%, 27%, 0.4);
css variable
--color-primary: hsl(52, 57%, 27%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 57%, 27%)?
HEX: #6C621E | RGB: rgb(108, 98, 30) | CMYK: 0%, 9%, 72%, 58% | HSV: 52°, 72%, 42%. Copy any format from the conversion table above.
What colors go well with #6C621E?
The complementary color is HSL(232, 57%, 27%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 57%, 27%) in CSS?
As HSL: color: hsl(52, 57%, 27%); — As HEX: color: #6C621E; — As RGB: color: rgb(108, 98, 30); — Tailwind CSS: bg-[hsl(52,57%,27%)] — CSS variable: --color-primary: hsl(52, 57%, 27%);