#D4E251#D4E251

#D4E251 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.166 H 114.6°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#D4E251
RGBrgb(212, 226, 81)
HSLhsl(66, 71%, 60%)
HSVhsv(66, 64%, 89%)
CMYKcmyk(6.2%, 0%, 64.2%, 11.4%)
CIE-LABlab(86.50, -23.04, 66.63)
CIE-LCHlch(86.50, 70.51, 109.08°)
OKLaboklab(87.57% -0.069 0.1509)
OKLCHoklch(87.57% 0.166 114.6)
XYZxyz(55.8343, 68.9848, 18.1571)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E251 #5F51E2
analogous
#E2A751 #D4E251 #8BE251
triadic
#D4E251 #51D4E2 #E251D4
tetradic
#D4E251 #51E2A7 #5F51E2 #E2518B
square
#D4E251 #51E2A7 #5F51E2 #E2518B
split-complementary
#D4E251 #518BE2 #A751E2
monochromatic
#919E1A #C2D323 #D4E251 #E1EB85 #EEF3BA

Accessibility & contrast

On white

1.42
#D4E251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#D4E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E251
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E251#FFFFFF#000000##000000
##D4E2511.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D73D
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#E1D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e251;
/* rgb */ color: rgb(212, 226, 81);
/* oklch */ color: oklch(87.6% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#e4eb89',
    500: '#d4e251',
    950: '#000000',
  },
}
SCSS
$custom: #d4e251;
$custom-light: #e4eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e251",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 65.793,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87566,
    "c": 0.16589,
    "h": 114.6
  },
  "luminance": 0.68984
}

Semantic roles & 50–950 ramp

primary
#D4E251
secondary
#4036A1
accent
#12D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E251

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

Preview Lab → · Contrast checker → · Palette generator →

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