#E2CA39

A color in the Yellow, Gold family

#e2ca39 is a color in the Yellow, Gold family: RGB(226, 202, 57), HSL(51°, 74%, 55%), CMYK(0%, 11%, 75%, 11%). Closest named color: gold. Contrast is 1.65:1 on white and 12.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e2ca39
RGBrgb(226 202 57)
RGB (legacy)rgb(226, 202, 57)
RGB %rgb(89% 79% 22%)
HSLhsl(51 74% 55%)
HSV / HSBhsv(51, 75%, 89%)
HWBhwb(51 22% 11%)
CMYKcmyk(0%, 11%, 75%, 11%)
CIELAB (D50)lab(81.57 -2.18 70.2)
LCHlch(81.57 70.24 91.78)
OKLaboklab(0.8351 -0.0256 0.1547)
OKLCHoklch(0.8351 0.1568 99.42)
Decimal14862905

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5.9
Closest web-safe color#cccc33
Hue51°
Saturation (HSL / HSV)74% / 75%
Lightness (HSL)55%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)76% / 77%
Relative luminance (WCAG)0.5871
Red / Green / Blue226 / 202 / 57

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.74: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 28.6 / -74.3 · As background with white / black text: Lc -32.2 / 75.3

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: #e2ca39;
  --color-brand-oklch: oklch(83.51% 0.1568 99.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 202 57 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2ca39] text-[#e2ca39] border-[#e2ca39]">