#D2E952#D2E952

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

Color values

HEX#D2E952
RGBrgb(210, 233, 82)
HSLhsl(69, 77%, 62%)
HSVhsv(69, 65%, 91%)
CMYKcmyk(9.9%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.25, -27.12, 68.03)
CIE-LCHlch(88.25, 73.23, 111.73°)
OKLaboklab(88.94% -0.0801 0.154)
OKLCHoklch(88.94% 0.174 117.5)
XYZxyz(57.2414, 72.5893, 18.9767)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E952 #6952E9
analogous
#E9B552 #D2E952 #87E952
triadic
#D2E952 #52D2E9 #E952D2
tetradic
#D2E952 #52E9B5 #6952E9 #E95287
square
#D2E952 #52E9B5 #6952E9 #E95287
split-complementary
#D2E952 #5287E9 #B552E9
monochromatic
#94AB16 #C3E11D #D2E952 #E0F088 #EEF7BF

Accessibility & contrast

On white

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

On black

15.52
#D2E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E952
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E952#FFFFFF#000000##000000
##D2E9521.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e952;
/* rgb */ color: rgb(210, 233, 82);
/* oklch */ color: oklch(88.9% 0.174 117.5);
Tailwind
colors: {
  custom: {
    50: '#e3f08a',
    500: '#d2e952',
    950: '#000000',
  },
}
SCSS
$custom: #d2e952;
$custom-light: #e3f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e952",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 69.139,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8894,
    "c": 0.1736,
    "h": 117.5
  },
  "luminance": 0.72589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2E952

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

Preview Lab → · Contrast checker → · Palette generator →

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