#D4E952#D4E952

#D4E952 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.1% C 0.173 H 116.8°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#D4E952
RGBrgb(212, 233, 82)
HSLhsl(68, 77%, 62%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(9%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.39, -26.32, 68.22)
CIE-LCHlch(88.39, 73.12, 111.10°)
OKLaboklab(89.09% -0.078 0.1543)
OKLCHoklch(89.09% 0.173 116.8)
XYZxyz(57.8145, 72.8848, 19.0035)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E952 #6752E9
analogous
#E9B252 #D4E952 #89E952
triadic
#D4E952 #52D4E9 #E952D4
tetradic
#D4E952 #52E9B2 #6752E9 #E95289
square
#D4E952 #52E9B2 #6752E9 #E95289
split-complementary
#D4E952 #5289E9 #B252E9
monochromatic
#96AB16 #C6E11D #D4E952 #E1F088 #EFF7BF

Accessibility & contrast

On white

1.35
#D4E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#D4E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E952
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E952#FFFFFF#000000##000000
##D4E9521.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#E0DCCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e952;
/* rgb */ color: rgb(212, 233, 82);
/* oklch */ color: oklch(89.1% 0.173 116.8);
Tailwind
colors: {
  custom: {
    50: '#e4f08a',
    500: '#d4e952',
    950: '#000000',
  },
}
SCSS
$custom: #d4e952;
$custom-light: #e4f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e952",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 68.344,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89089,
    "c": 0.17296,
    "h": 116.8
  },
  "luminance": 0.72884
}

Semantic roles & 50–950 ramp

primary
#D4E952
secondary
#4433AC
accent
#0CDA28
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4E952

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

Preview Lab → · Contrast checker → · Palette generator →

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