#D2E17C#D2E17C

#D2E17C is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.7% C 0.127 H 116.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#D2E17C
RGBrgb(210, 225, 124)
HSLhsl(69, 63%, 68%)
HSVhsv(69, 45%, 88%)
CMYKcmyk(6.7%, 0%, 44.9%, 11.8%)
CIE-LABlab(86.51, -19.85, 47.51)
CIE-LCHlch(86.51, 51.49, 112.67°)
OKLaboklab(87.68% -0.0557 0.1141)
OKLCHoklch(87.68% 0.127 116)
XYZxyz(57.1422, 69.0079, 29.3745)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E17C #8B7CE1
analogous
#E1BD7C #D2E17C #9FE17C
triadic
#D2E17C #7CD2E1 #E17CD2
tetradic
#D2E17C #7CE1BD #8B7CE1 #E17C9F
square
#D2E17C #7CE1BD #8B7CE1 #E17C9F
split-complementary
#D2E17C #7C9FE1 #BD7CE1
monochromatic
#A3B82A #C1D64A #D2E17C #E3ECAE #F4F8E0

Accessibility & contrast

On white

1.42
#D2E17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#D2E17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E17C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E17C#FFFFFF#000000##000000
##D2E17C1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD874
Deuteranopia (green-blind)
#ECD981
Tritanopia (blue-blind)
#DCD7C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e17c;
/* rgb */ color: rgb(210, 225, 124);
/* oklch */ color: oklch(87.7% 0.127 116.0);
Tailwind
colors: {
  custom: {
    50: '#e1eaa4',
    500: '#d2e17c',
    950: '#000000',
  },
}
SCSS
$custom: #d2e17c;
$custom-light: #e1eaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e17c",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 68.911,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87676,
    "c": 0.12701,
    "h": 116
  },
  "luminance": 0.69007
}

Semantic roles & 50–950 ramp

primary
#D2E17C
secondary
#5A49B8
accent
#1BCA35
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E17C

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

Preview Lab → · Contrast checker → · Palette generator →

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