#D4E252#D4E252

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

Color values

HEX#D4E252
RGBrgb(212, 226, 82)
HSLhsl(66, 71%, 60%)
HSVhsv(66, 64%, 89%)
CMYKcmyk(6.2%, 0%, 63.7%, 11.4%)
CIE-LABlab(86.50, -22.98, 66.25)
CIE-LCHlch(86.50, 70.12, 109.13°)
OKLaboklab(87.57% -0.0687 0.1502)
OKLCHoklch(87.57% 0.165 114.6)
XYZxyz(55.8721, 68.9999, 18.3560)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E252 #6052E2
analogous
#E2A852 #D4E252 #8CE252
triadic
#D4E252 #52D4E2 #E252D4
tetradic
#D4E252 #52E2A8 #6052E2 #E2528C
square
#D4E252 #52E2A8 #6052E2 #E2528C
split-complementary
#D4E252 #528CE2 #A852E2
monochromatic
#929F1B #C2D323 #D4E252 #E1EB86 #EEF4BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E252#FFFFFF#000000##000000
##D4E2521.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)
#F1D73F
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#E1D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e252;
/* rgb */ color: rgb(212, 226, 82);
/* oklch */ color: oklch(87.6% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#e4eb89',
    500: '#d4e252',
    950: '#000000',
  },
}
SCSS
$custom: #d4e252;
$custom-light: #e4eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e252",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 65.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87574,
    "c": 0.16515,
    "h": 114.6
  },
  "luminance": 0.68999
}

Semantic roles & 50–950 ramp

primary
#D4E252
secondary
#4136A2
accent
#12D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E252

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

Preview Lab → · Contrast checker → · Palette generator →

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