#D4E981#D4E981

#D4E981 is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.6% C 0.132 H 118.5°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#D4E981
RGBrgb(212, 233, 129)
HSLhsl(72, 70%, 71%)
HSVhsv(72, 45%, 91%)
CMYKcmyk(9%, 0%, 44.6%, 8.6%)
CIE-LABlab(88.86, -22.45, 48.03)
CIE-LCHlch(88.86, 53.01, 115.05°)
OKLaboklab(89.61% -0.0628 0.1156)
OKLCHoklch(89.61% 0.132 118.5)
XYZxyz(60.2531, 73.8602, 31.8469)
Luminance0.7386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E981 #9681E9
analogous
#E9CA81 #D4E981 #A0E981
triadic
#D4E981 #81D4E9 #E981D4
tetradic
#D4E981 #81E9CA #9681E9 #E981A0
square
#D4E981 #81E9CA #9681E9 #E981A0
split-complementary
#D4E981 #81A0E9 #CA81E9
monochromatic
#AACC24 #C2E04D #D4E981 #E6F2B5 #F6FAE5

Accessibility & contrast

On white

1.33
#D4E981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#D4E981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E981
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E981#FFFFFF#000000##000000
##D4E9811.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF78
Deuteranopia (green-blind)
#F3E086
Tritanopia (blue-blind)
#DDDFD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e981;
/* rgb */ color: rgb(212, 233, 129);
/* oklch */ color: oklch(89.6% 0.132 118.5);
Tailwind
colors: {
  custom: {
    50: '#e3f0a7',
    500: '#d4e981',
    950: '#000000',
  },
}
SCSS
$custom: #d4e981;
$custom-light: #e3f0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e981",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 72.115,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8961,
    "c": 0.13154,
    "h": 118.5
  },
  "luminance": 0.7386
}

Semantic roles & 50–950 ramp

primary
#D4E981
secondary
#644CC2
accent
#13D23A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#161610
muted
#848580

Preview Lab

Preview with #D4E981

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

Preview Lab → · Contrast checker → · Palette generator →

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