#D2E852#D2E852

#D2E852 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 88.7% C 0.172 H 117.2°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#D2E852
RGBrgb(210, 232, 82)
HSLhsl(69, 77%, 62%)
HSVhsv(69, 65%, 91%)
CMYKcmyk(9.5%, 0%, 64.7%, 9%)
CIE-LABlab(87.98, -26.65, 67.75)
CIE-LCHlch(87.98, 72.80, 111.47°)
OKLaboklab(88.72% -0.0788 0.1534)
OKLCHoklch(88.72% 0.172 117.2)
XYZxyz(56.9591, 72.0247, 18.8826)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E852 #6852E8
analogous
#E8B352 #D2E852 #87E852
triadic
#D2E852 #52D2E8 #E852D2
tetradic
#D2E852 #52E8B3 #6852E8 #E85287
square
#D2E852 #52E8B3 #6852E8 #E85287
split-complementary
#D2E852 #5287E8 #B352E8
monochromatic
#94A916 #C3DF1E #D2E852 #E0EF88 #EEF6BE

Accessibility & contrast

On white

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

On black

15.40
#D2E852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E852
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E852#FFFFFF#000000##000000
##D2E8521.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e852;
/* rgb */ color: rgb(210, 232, 82);
/* oklch */ color: oklch(88.7% 0.172 117.2);
Tailwind
colors: {
  custom: {
    50: '#e3ef8a',
    500: '#d2e852',
    950: '#000000',
  },
}
SCSS
$custom: #d2e852;
$custom-light: #e3ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e852",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 82
  },
  "hsl": {
    "h": 68.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88723,
    "c": 0.17247,
    "h": 117.2
  },
  "luminance": 0.72024
}

Semantic roles & 50–950 ramp

primary
#D2E852
secondary
#4534AB
accent
#0DD92B
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E852

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

Preview Lab → · Contrast checker → · Palette generator →

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