#E2CA25

A color in the Yellow, Gold family

#e2ca25 is a color in the Yellow, Gold family: RGB(226, 202, 37), HSL(52°, 77%, 52%), CMYK(0%, 11%, 84%, 11%). Closest named color: gold. Contrast is 1.65:1 on white and 12.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e2ca25
RGBrgb(226 202 37)
RGB (legacy)rgb(226, 202, 37)
RGB %rgb(89% 79% 15%)
HSLhsl(52 77% 52%)
HSV / HSBhsv(52, 84%, 89%)
HWBhwb(52 15% 11%)
CMYKcmyk(0%, 11%, 84%, 11%)
CIELAB (D50)lab(81.5 -2.65 75.78)
LCHlch(81.5 75.83 92.01)
OKLaboklab(0.8341 -0.0291 0.1633)
OKLCHoklch(0.8341 0.1658 100.12)
Decimal14862885

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5.7
Closest web-safe color#cccc33
Hue52°
Saturation (HSL / HSV)77% / 84%
Lightness (HSL)52%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)75% / 77%
Relative luminance (WCAG)0.5854
Red / Green / Blue226 / 202 / 37

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.71: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.7 / -74.2 · As background with white / black text: Lc -32.3 / 75.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: #e2ca25;
  --color-brand-oklch: oklch(83.41% 0.1658 100.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 202 37 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2ca25] text-[#e2ca25] border-[#e2ca25]">