HSL(57, 85%, 46%)
Vivid Yellow — Yellow color
Adjust Color
Color Information
Color Name
Vivid Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,85%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 85%, 46%) | color: hsl(57, 85%, 46%) | |
| HEX | #D9CF12 | color: #D9CF12 | |
| RGB | rgb(217, 207, 18) | color: rgb(217, 207, 18) | |
| CMYK | cmyk(0%, 5%, 92%, 15%) | — | |
| HSV | hsv(57, 92%, 85%) | — | |
| HWB | hwb(57 7% 15%) | color: hwb(57 7% 15%) | |
| OKLCH | oklch(0.836 0.1757 106.05) | color: oklch(0.836 0.1757 106.05) | |
| Lab | lab(81.52 -13.95 79.9) | color: lab(81.52 -13.95 79.9) | |
| LCH | lch(81.52 81.11 99.9) | color: lch(81.52 81.11 99.9) |
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)
#D5D540 — rgb(213, 213, 64)
Deuteranopia (Green-blind)
#D5D64B — rgb(213, 214, 75)
Tritanopia (Blue-blind)
#D9646C — rgb(217, 100, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 85%, 46%);
text
color: hsl(57, 85%, 46%);
border
border: 2px solid hsl(57, 85%, 46%);
gradient light
background: linear-gradient(to right, hsl(57, 85%, 66%), hsl(57, 85%, 46%));
gradient dark
background: linear-gradient(to right, hsl(57, 85%, 46%), hsl(57, 85%, 26%))
hex
background-color: #D9CF12;
tailwind
bg-[hsl(57,85%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 85%, 46%, 0.4);
css variable
--color-primary: hsl(57, 85%, 46%);
Related Colors
Use Cases for Vivid Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 85%, 46%)?
HEX: #D9CF12 | RGB: rgb(217, 207, 18) | CMYK: 0%, 5%, 92%, 15% | HSV: 57°, 92%, 85%. Copy any format from the conversion table above.
What colors go well with #D9CF12?
The complementary color is HSL(237, 85%, 46%). 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, 85%, 46%) in CSS?
As HSL: color: hsl(57, 85%, 46%); — As HEX: color: #D9CF12; — As RGB: color: rgb(217, 207, 18); — Tailwind CSS: bg-[hsl(57,85%,46%)] — CSS variable: --color-primary: hsl(57, 85%, 46%);