#D2E281#D2E281

#D2E281 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.0% C 0.123 H 116.7°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#D2E281
RGBrgb(210, 226, 129)
HSLhsl(70, 63%, 70%)
HSVhsv(70, 43%, 89%)
CMYKcmyk(7.1%, 0%, 42.9%, 11.4%)
CIE-LABlab(86.84, -19.82, 45.49)
CIE-LCHlch(86.84, 49.62, 113.54°)
OKLaboklab(87.96% -0.0552 0.11)
OKLCHoklch(87.96% 0.123 116.7)
XYZxyz(57.7376, 69.6798, 31.1725)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E281 #9181E2
analogous
#E2C281 #D2E281 #A2E281
triadic
#D2E281 #81D2E2 #E281D2
tetradic
#D2E281 #81E2C2 #9181E2 #E281A2
square
#D2E281 #81E2C2 #9181E2 #E281A2
split-complementary
#D2E281 #81A2E2 #C281E2
monochromatic
#A5BD2C #C0D74F #D2E281 #E4EDB3 #F6F9E4

Accessibility & contrast

On white

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

On black

14.94
#D2E281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E281
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E281#FFFFFF#000000##000000
##D2E2811.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED979
Deuteranopia (green-blind)
#ECDA86
Tritanopia (blue-blind)
#DBD8CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d2e281;
/* rgb */ color: rgb(210, 226, 129);
/* oklch */ color: oklch(88.0% 0.123 116.7);
Tailwind
colors: {
  custom: {
    50: '#e1eba7',
    500: '#d2e281',
    950: '#000000',
  },
}
SCSS
$custom: #d2e281;
$custom-light: #e1eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e281",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 69.897,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87962,
    "c": 0.12305,
    "h": 116.7
  },
  "luminance": 0.69679
}

Semantic roles & 50–950 ramp

primary
#D2E281
secondary
#5F4EBA
accent
#1BCA38
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #D2E281

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

Preview Lab → · Contrast checker → · Palette generator →

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