#D2E166#D2E166

#D2E166 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.4% C 0.148 H 115.3°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#D2E166
RGBrgb(210, 225, 102)
HSLhsl(67, 67%, 64%)
HSVhsv(67, 55%, 88%)
CMYKcmyk(6.7%, 0%, 54.7%, 11.8%)
CIE-LABlab(86.26, -21.86, 57.47)
CIE-LCHlch(86.26, 61.48, 110.83°)
OKLaboklab(87.4% -0.0634 0.134)
OKLCHoklch(87.4% 0.148 115.3)
XYZxyz(55.9028, 68.5121, 22.8470)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E166 #7566E1
analogous
#E1B366 #D2E166 #95E166
triadic
#D2E166 #66D2E1 #E166D2
tetradic
#D2E166 #66E1B3 #7566E1 #E16695
square
#D2E166 #66E1B3 #7566E1 #E16695
split-complementary
#D2E166 #6695E1 #B366E1
monochromatic
#9AAB22 #C3D733 #D2E166 #E1EB99 #F0F5CC

Accessibility & contrast

On white

1.43
#D2E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#D2E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E166
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E166#FFFFFF#000000##000000
##D2E1661.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#DED6C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e166;
/* rgb */ color: rgb(210, 225, 102);
/* oklch */ color: oklch(87.4% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#e2ea95',
    500: '#d2e166',
    950: '#000000',
  },
}
SCSS
$custom: #d2e166;
$custom-light: #e2ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e166",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 67.317,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.874,
    "c": 0.14829,
    "h": 115.3
  },
  "luminance": 0.68511
}

Semantic roles & 50–950 ramp

primary
#D2E166
secondary
#4C3EAD
accent
#16CF2D
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E166

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

Preview Lab → · Contrast checker → · Palette generator →

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