#D2E56F#D2E56F

#D2E56F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.4% C 0.145 H 117.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#D2E56F
RGBrgb(210, 229, 111)
HSLhsl(70, 69%, 67%)
HSVhsv(70, 52%, 90%)
CMYKcmyk(8.3%, 0%, 51.5%, 10.2%)
CIE-LABlab(87.43, -23.03, 54.74)
CIE-LCHlch(87.43, 59.39, 112.81°)
OKLaboklab(88.37% -0.0659 0.129)
OKLCHoklch(88.37% 0.145 117)
XYZxyz(57.4677, 70.8885, 25.6913)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E56F #826FE5
analogous
#E5BD6F #D2E56F #97E56F
triadic
#D2E56F #6FD2E5 #E56FD2
tetradic
#D2E56F #6FE5BD #826FE5 #E56F97
square
#D2E56F #6FE5BD #826FE5 #E56F97
split-complementary
#D2E56F #6F97E5 #BD6FE5
monochromatic
#A0B821 #C2DC3B #D2E56F #E2EEA3 #F2F8D7

Accessibility & contrast

On white

1.38
#D2E56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#D2E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E56F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E56F#FFFFFF#000000##000000
##D2E56F1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB64
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#DDDACA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e56f;
/* rgb */ color: rgb(210, 229, 111);
/* oklch */ color: oklch(88.4% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#e2ed9b',
    500: '#d2e56f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e56f;
$custom-light: #e2ed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e56f",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 69.661,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88366,
    "c": 0.14487,
    "h": 117
  },
  "luminance": 0.70888
}

Semantic roles & 50–950 ramp

primary
#D2E56F
secondary
#5340B8
accent
#14D133
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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