HSL(57, 68%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,68%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 68%, 35%) | color: hsl(57, 68%, 35%) | |
| HEX | #96901D | color: #96901D | |
| RGB | rgb(150, 144, 29) | color: rgb(150, 144, 29) | |
| CMYK | cmyk(0%, 4%, 81%, 41%) | — | |
| HSV | hsv(57, 81%, 59%) | — | |
| HWB | hwb(57 11% 41%) | color: hwb(57 11% 41%) | |
| OKLCH | oklch(0.6388 0.1277 106.33) | color: oklch(0.6388 0.1277 106.33) | |
| Lab | lab(58.53 -10.69 56.49) | color: lab(58.53 -10.69 56.49) | |
| LCH | lch(58.53 57.49 100.72) | color: lch(58.53 57.49 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: black
Color Blindness Simulation
Protanopia (Red-blind)
#939339 — rgb(147, 147, 57)
Deuteranopia (Green-blind)
#949440 — rgb(148, 148, 64)
Tritanopia (Blue-blind)
#964F54 — rgb(150, 79, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 68%, 35%);
text
color: hsl(57, 68%, 35%);
border
border: 2px solid hsl(57, 68%, 35%);
gradient light
background: linear-gradient(to right, hsl(57, 68%, 55%), hsl(57, 68%, 35%));
gradient dark
background: linear-gradient(to right, hsl(57, 68%, 35%), hsl(57, 68%, 15%))
hex
background-color: #96901D;
tailwind
bg-[hsl(57,68%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 68%, 35%, 0.4);
css variable
--color-primary: hsl(57, 68%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 68%, 35%)?
HEX: #96901D | RGB: rgb(150, 144, 29) | CMYK: 0%, 4%, 81%, 41% | HSV: 57°, 81%, 59%. Copy any format from the conversion table above.
What colors go well with #96901D?
The complementary color is HSL(237, 68%, 35%). 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, 68%, 35%) in CSS?
As HSL: color: hsl(57, 68%, 35%); — As HEX: color: #96901D; — As RGB: color: rgb(150, 144, 29); — Tailwind CSS: bg-[hsl(57,68%,35%)] — CSS variable: --color-primary: hsl(57, 68%, 35%);