#D2E162#D2E162

#D2E162 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.4% C 0.152 H 115.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#D2E162
RGBrgb(210, 225, 98)
HSLhsl(67, 68%, 63%)
HSVhsv(67, 56%, 88%)
CMYKcmyk(6.7%, 0%, 56.4%, 11.8%)
CIE-LABlab(86.22, -22.18, 59.20)
CIE-LCHlch(86.22, 63.21, 110.54°)
OKLaboklab(87.36% -0.0647 0.1373)
OKLCHoklch(87.36% 0.152 115.2)
XYZxyz(55.7092, 68.4347, 21.8274)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E162 #7162E1
analogous
#E1B162 #D2E162 #92E162
triadic
#D2E162 #62D2E1 #E162D2
tetradic
#D2E162 #62E1B1 #7162E1 #E16292
square
#D2E162 #62E1B1 #7162E1 #E16292
split-complementary
#D2E162 #6292E1 #B162E1
monochromatic
#98A820 #C3D72F #D2E162 #E1EB95 #EFF5C9

Accessibility & contrast

On white

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

On black

14.69
#D2E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E162
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E162#FFFFFF#000000##000000
##D2E1621.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#EED96A
Tritanopia (blue-blind)
#DED5C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e162;
/* rgb */ color: rgb(210, 225, 98);
/* oklch */ color: oklch(87.4% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#e2ea93',
    500: '#d2e162',
    950: '#000000',
  },
}
SCSS
$custom: #d2e162;
$custom-light: #e2ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e162",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 67.087,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87357,
    "c": 0.15181,
    "h": 115.2
  },
  "luminance": 0.68434
}

Semantic roles & 50–950 ramp

primary
#D2E162
secondary
#4A3DAB
accent
#16D02C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E162

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

Preview Lab → · Contrast checker → · Palette generator →

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