#D1E952#D1E952

#D1E952 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 88.9% C 0.174 H 117.8°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#D1E952
RGBrgb(209, 233, 82)
HSLhsl(70, 77%, 62%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(10.3%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.18, -27.52, 67.93)
CIE-LCHlch(88.18, 73.29, 112.05°)
OKLaboklab(88.87% -0.0812 0.1538)
OKLCHoklch(88.87% 0.174 117.8)
XYZxyz(56.9575, 72.4429, 18.9633)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E952 #6A52E9
analogous
#E9B552 #D1E952 #86E952
triadic
#D1E952 #52D1E9 #E952D1
tetradic
#D1E952 #52E9B5 #6A52E9 #E95286
square
#D1E952 #52E9B5 #6A52E9 #E95286
split-complementary
#D1E952 #5286E9 #B552E9
monochromatic
#93AB16 #C2E11D #D1E952 #DFF088 #EEF7BF

Accessibility & contrast

On white

1.36
#D1E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#D1E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E952
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E952#FFFFFF#000000##000000
##D1E9521.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F5DE5D
Tritanopia (blue-blind)
#DDDDCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d1e952;
/* rgb */ color: rgb(209, 233, 82);
/* oklch */ color: oklch(88.9% 0.174 117.8);
Tailwind
colors: {
  custom: {
    50: '#e2f08a',
    500: '#d1e952',
    950: '#000000',
  },
}
SCSS
$custom: #d1e952;
$custom-light: #e2f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e952",
  "rgb": {
    "r": 209,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 69.536,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88866,
    "c": 0.17393,
    "h": 117.8
  },
  "luminance": 0.72442
}

Semantic roles & 50–950 ramp

primary
#D1E952
secondary
#4633AC
accent
#0CDA2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D1E952

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

Preview Lab → · Contrast checker → · Palette generator →

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