#EACF21
A color in the Yellow, Gold family
#eacf21 is a color in the Yellow, Gold family: RGB(234, 207, 33), HSL(52°, 83%, 52%), CMYK(0%, 12%, 86%, 8%). Closest named color: gold. Contrast is 1.56:1 on white and 13.45:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #eacf21 |
|---|---|
| RGB | rgb(234 207 33) |
| RGB (legacy) | rgb(234, 207, 33) |
| RGB % | rgb(92% 81% 13%) |
| HSL | hsl(52 83% 52%) |
| HSV / HSB | hsv(52, 86%, 92%) |
| HWB | hwb(52 13% 8%) |
| CMYK | cmyk(0%, 12%, 86%, 8%) |
| CIELAB (D50) | lab(83.51 -1.76 78.6) |
| LCH | lch(83.51 78.62 91.28) |
| OKLab | oklab(0.8516 -0.0275 0.1684) |
| OKLCH | oklch(0.8516 0.1706 99.29) |
| Decimal | 15388449 |
Properties
| Color Tone | Yellow, Gold |
|---|---|
| Closest named color | gold ΔE 3.9 |
| Closest web-safe color | #ffcc33 |
| Hue | 52° |
| Saturation (HSL / HSV) | 83% / 86% |
| Lightness (HSL) | 52% |
| Brightness or Value (HSV) | 92% |
| Luminance (Rec.601 / Rec.709) | 77% / 79% |
| Relative luminance (WCAG) | 0.6223 |
| Red / Green / Blue | 234 / 207 / 33 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
1.56:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.45:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 25.5 / -77.5 · As background with white / black text: Lc -28.9 / 78.2
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #eacf21;
--color-brand-oklch: oklch(85.16% 0.1706 99.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(234 207 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#eacf21] text-[#eacf21] border-[#eacf21]">