#D4E381#D4E381

#D4E381 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.3% C 0.124 H 116.1°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#D4E381
RGBrgb(212, 227, 129)
HSLhsl(69, 64%, 70%)
HSVhsv(69, 43%, 89%)
CMYKcmyk(6.6%, 0%, 43.2%, 11%)
CIE-LABlab(87.25, -19.53, 46.04)
CIE-LCHlch(87.25, 50.01, 112.99°)
OKLaboklab(88.33% -0.0545 0.1112)
OKLCHoklch(88.33% 0.124 116.1)
XYZxyz(58.5834, 70.5208, 31.2903)
Luminance0.7052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E381 #9081E3
analogous
#E3C181 #D4E381 #A3E381
triadic
#D4E381 #81D4E3 #E381D4
tetradic
#D4E381 #81E3C1 #9081E3 #E381A3
square
#D4E381 #81E3C1 #9081E3 #E381A3
split-complementary
#D4E381 #81A3E3 #C181E3
monochromatic
#A8BF2A #C3D84F #D4E381 #E5EEB3 #F6F9E5

Accessibility & contrast

On white

1.39
#D4E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#D4E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E381
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E381#FFFFFF#000000##000000
##D4E3811.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA79
Deuteranopia (green-blind)
#EEDB86
Tritanopia (blue-blind)
#DED9CC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d4e381;
/* rgb */ color: rgb(212, 227, 129);
/* oklch */ color: oklch(88.3% 0.124 116.1);
Tailwind
colors: {
  custom: {
    50: '#e3eba7',
    500: '#d4e381',
    950: '#000000',
  },
}
SCSS
$custom: #d4e381;
$custom-light: #e3eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e381",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 69.184,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88327,
    "c": 0.12381,
    "h": 116.1
  },
  "luminance": 0.7052
}

Semantic roles & 50–950 ramp

primary
#D4E381
secondary
#5E4DBB
accent
#1ACB35
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#161610
muted
#848480

Preview Lab

Preview with #D4E381

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

Preview Lab → · Contrast checker → · Palette generator →

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