#D2E366#D2E366

#D2E366 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.8% C 0.151 H 116.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#D2E366
RGBrgb(210, 227, 102)
HSLhsl(68, 69%, 65%)
HSVhsv(68, 55%, 89%)
CMYKcmyk(7.5%, 0%, 55.1%, 11%)
CIE-LABlab(86.80, -22.83, 58.08)
CIE-LCHlch(86.80, 62.41, 111.45°)
OKLaboklab(87.83% -0.0662 0.1354)
OKLCHoklch(87.83% 0.151 116.1)
XYZxyz(56.4467, 69.5998, 23.0283)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E366 #7766E3
analogous
#E3B666 #D2E366 #94E366
triadic
#D2E366 #66D2E3 #E366D2
tetradic
#D2E366 #66E3B6 #7766E3 #E36694
square
#D2E366 #66E3B6 #7766E3 #E36694
split-complementary
#D2E366 #6694E3 #B666E3
monochromatic
#9BAF20 #C3DA32 #D2E366 #E1EC9A #F0F6CD

Accessibility & contrast

On white

1.41
#D2E366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#D2E366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E366
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E366#FFFFFF#000000##000000
##D2E3661.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D959
Deuteranopia (green-blind)
#F0DA6D
Tritanopia (blue-blind)
#DDD8C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d2e366;
/* rgb */ color: rgb(210, 227, 102);
/* oklch */ color: oklch(87.8% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#e2eb95',
    500: '#d2e366',
    950: '#000000',
  },
}
SCSS
$custom: #d2e366;
$custom-light: #e2eb95;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e366",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 68.16,
    "s": 69.061,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87831,
    "c": 0.15067,
    "h": 116.1
  },
  "luminance": 0.69599
}

Semantic roles & 50–950 ramp

primary
#D2E366
secondary
#4D3DB0
accent
#14D12E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E366

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

Preview Lab → · Contrast checker → · Palette generator →

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