#D2E181#D2E181

#D2E181 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.7% C 0.122 H 116.2°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#D2E181
RGBrgb(210, 225, 129)
HSLhsl(69, 62%, 69%)
HSVhsv(69, 43%, 88%)
CMYKcmyk(6.7%, 0%, 42.7%, 11.8%)
CIE-LABlab(86.57, -19.33, 45.16)
CIE-LCHlch(86.57, 49.12, 113.17°)
OKLaboklab(87.75% -0.0538 0.1092)
OKLCHoklch(87.75% 0.122 116.2)
XYZxyz(57.4665, 69.1376, 31.0822)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E181 #9081E1
analogous
#E1C081 #D2E181 #A2E181
triadic
#D2E181 #81D2E1 #E181D2
tetradic
#D2E181 #81E1C0 #9081E1 #E181A2
square
#D2E181 #81E1C0 #9081E1 #E181A2
split-complementary
#D2E181 #81A2E1 #C081E1
monochromatic
#A5BB2D #C0D550 #D2E181 #E4EDB2 #F5F9E4

Accessibility & contrast

On white

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

On black

14.83
#D2E181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E181
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E181#FFFFFF#000000##000000
##D2E1811.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD879
Deuteranopia (green-blind)
#EBD986
Tritanopia (blue-blind)
#DCD7CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d2e181;
/* rgb */ color: rgb(210, 225, 129);
/* oklch */ color: oklch(87.7% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#e1eaa7',
    500: '#d2e181',
    950: '#000000',
  },
}
SCSS
$custom: #d2e181;
$custom-light: #e1eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e181",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 69.375,
    "s": 61.538,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87748,
    "c": 0.12176,
    "h": 116.2
  },
  "luminance": 0.69137
}

Semantic roles & 50–950 ramp

primary
#D2E181
secondary
#5E4EB8
accent
#1CC937
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E181

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

Preview Lab → · Contrast checker → · Palette generator →

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