HSL(57, 66%, 28%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,66%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 66%, 28%) | color: hsl(57, 66%, 28%) | |
| HEX | #777218 | color: #777218 | |
| RGB | rgb(119, 114, 24) | color: rgb(119, 114, 24) | |
| CMYK | cmyk(0%, 4%, 80%, 53%) | — | |
| HSV | hsv(57, 80%, 47%) | — | |
| HWB | hwb(57 9% 53%) | color: hwb(57 9% 53%) | |
| OKLCH | oklch(0.5401 0.1062 106.14) | color: oklch(0.5401 0.1062 106.14) | |
| Lab | lab(47 -8.84 46.71) | color: lab(47 -8.84 46.71) | |
| LCH | lch(47 47.54 100.72) | color: lch(47 47.54 100.72) |
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)
#75752E — rgb(117, 117, 46)
Deuteranopia (Green-blind)
#757633 — rgb(117, 118, 51)
Tritanopia (Blue-blind)
#773F43 — rgb(119, 63, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 66%, 28%);
text
color: hsl(57, 66%, 28%);
border
border: 2px solid hsl(57, 66%, 28%);
gradient light
background: linear-gradient(to right, hsl(57, 66%, 48%), hsl(57, 66%, 28%));
gradient dark
background: linear-gradient(to right, hsl(57, 66%, 28%), hsl(57, 66%, 8%))
hex
background-color: #777218;
tailwind
bg-[hsl(57,66%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 66%, 28%, 0.4);
css variable
--color-primary: hsl(57, 66%, 28%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 66%, 28%)?
HEX: #777218 | RGB: rgb(119, 114, 24) | CMYK: 0%, 4%, 80%, 53% | HSV: 57°, 80%, 47%. Copy any format from the conversion table above.
What colors go well with #777218?
The complementary color is HSL(237, 66%, 28%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 66%, 28%) in CSS?
As HSL: color: hsl(57, 66%, 28%); — As HEX: color: #777218; — As RGB: color: rgb(119, 114, 24); — Tailwind CSS: bg-[hsl(57,66%,28%)] — CSS variable: --color-primary: hsl(57, 66%, 28%);