#D4E331

A color in the Yellow, Gold family

#d4e331 is a color in the Yellow, Gold family: RGB(212, 227, 49), HSL(65°, 76%, 54%), CMYK(7%, 0%, 78%, 11%). Closest named color: gold. Contrast is 1.42:1 on white and 14.83:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d4e331
RGBrgb(212 227 49)
RGB (legacy)rgb(212, 227, 49)
RGB %rgb(83% 89% 19%)
HSLhsl(65 76% 54%)
HSV / HSBhsv(65, 78%, 89%)
HWBhwb(65 19% 11%)
CMYKcmyk(7%, 0%, 78%, 11%)
CIELAB (D50)lab(86.95 -19.91 76.69)
LCHlch(86.95 79.23 104.55)
OKLaboklab(0.8758 -0.0774 0.1687)
OKLCHoklch(0.8758 0.1856 114.64)
Decimal13951793

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6.3
Closest web-safe color#cccc33
Hue65°
Saturation (HSL / HSV)76% / 78%
Lightness (HSL)54%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)79% / 83%
Relative luminance (WCAG)0.6916
Red / Green / Blue212 / 227 / 49

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.83: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 19.9 / -83.5 · As background with white / black text: Lc -22.7 / 83.8

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: #d4e331;
  --color-brand-oklch: oklch(87.58% 0.1856 114.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(212 227 49 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d4e331] text-[#d4e331] border-[#d4e331]">