#D4EA5F#D4EA5F

#D4EA5F is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.4% C 0.164 H 117.4°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#D4EA5F
RGBrgb(212, 234, 95)
HSLhsl(69, 77%, 65%)
HSVhsv(69, 59%, 92%)
CMYKcmyk(9.4%, 0%, 59.4%, 8.2%)
CIE-LABlab(88.77, -25.92, 63.35)
CIE-LCHlch(88.77, 68.45, 112.25°)
OKLaboklab(89.42% -0.0757 0.1458)
OKLCHoklch(89.42% 0.164 117.4)
XYZxyz(58.6408, 73.6695, 21.9547)
Luminance0.7367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EA5F #755FEA
analogous
#EABA5F #D4EA5F #8FEA5F
triadic
#D4EA5F #5FD4EA #EA5FD4
tetradic
#D4EA5F #5FEABA #755FEA #EA5F8F
square
#D4EA5F #5FEABA #755FEA #EA5F8F
split-complementary
#D4EA5F #5F8FEA #BA5FEA
monochromatic
#9EB718 #C5E329 #D4EA5F #E3F195 #F1F8CB

Accessibility & contrast

On white

1.33
#D4EA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#D4EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EA5F
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EA5F#FFFFFF#000000##000000
##D4EA5F1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4F
Deuteranopia (green-blind)
#F6E068
Tritanopia (blue-blind)
#E0DECC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4ea5f;
/* rgb */ color: rgb(212, 234, 95);
/* oklch */ color: oklch(89.4% 0.164 117.4);
Tailwind
colors: {
  custom: {
    50: '#e4f092',
    500: '#d4ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4ea5f;
$custom-light: #e4f092;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ea5f",
  "rgb": {
    "r": 212,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 69.496,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89422,
    "c": 0.16426,
    "h": 117.4
  },
  "luminance": 0.73669
}

Semantic roles & 50–950 ramp

primary
#D4EA5F
secondary
#4B37B6
accent
#0CD92D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EA5F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D4EA5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva