#E9CF21

A color in the Yellow, Gold family

#e9cf21 is a color in the Yellow, Gold family: RGB(233, 207, 33), HSL(52°, 82%, 52%), CMYK(0%, 11%, 86%, 9%). Closest named color: gold. Contrast is 1.57:1 on white and 13.41:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e9cf21
RGBrgb(233 207 33)
RGB (legacy)rgb(233, 207, 33)
RGB %rgb(91% 81% 13%)
HSLhsl(52 82% 52%)
HSV / HSBhsv(52, 86%, 91%)
HWBhwb(52 13% 9%)
CMYKcmyk(0%, 11%, 86%, 9%)
CIELAB (D50)lab(83.42 -2.18 78.48)
LCHlch(83.42 78.51 91.59)
OKLaboklab(0.8507 -0.0287 0.1682)
OKLCHoklch(0.8507 0.1706 99.68)
Decimal15322913

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4
Closest web-safe color#ffcc33
Hue52°
Saturation (HSL / HSV)82% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)76% / 78%
Relative luminance (WCAG)0.6206
Red / Green / Blue233 / 207 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.41: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.7 / -77.4 · As background with white / black text: Lc -29 / 78.1

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

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: #e9cf21;
  --color-brand-oklch: oklch(85.07% 0.1706 99.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(233 207 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e9cf21] text-[#e9cf21] border-[#e9cf21]">