#D4E27B#D4E27B

#D4E27B is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.129 H 115.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D4E27B
RGBrgb(212, 226, 123)
HSLhsl(68, 64%, 68%)
HSVhsv(68, 46%, 89%)
CMYKcmyk(6.2%, 0%, 45.6%, 11.4%)
CIE-LABlab(86.91, -19.66, 48.51)
CIE-LCHlch(86.91, 52.35, 112.06°)
OKLaboklab(88.03% -0.0554 0.1163)
OKLCHoklch(88.03% 0.129 115.5)
XYZxyz(57.9235, 69.8205, 29.1603)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E27B #897BE2
analogous
#E2BC7B #D4E27B #A0E27B
triadic
#D4E27B #7BD4E2 #E27BD4
tetradic
#D4E27B #7BE2BC #897BE2 #E27BA0
square
#D4E27B #7BE2BC #897BE2 #E27BA0
split-complementary
#D4E27B #7BA0E2 #BC7BE2
monochromatic
#A6BA29 #C4D749 #D4E27B #E4EDAD #F5F8DF

Accessibility & contrast

On white

1.40
#D4E27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D4E27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E27B
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E27B#FFFFFF#000000##000000
##D4E27B1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD972
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#DED8CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e27b;
/* rgb */ color: rgb(212, 226, 123);
/* oklch */ color: oklch(88.0% 0.129 115.5);
Tailwind
colors: {
  custom: {
    50: '#e3eba3',
    500: '#d4e27b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e27b;
$custom-light: #e3eba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e27b",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 68.155,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88029,
    "c": 0.12879,
    "h": 115.5
  },
  "luminance": 0.6982
}

Semantic roles & 50–950 ramp

primary
#D4E27B
secondary
#5748B9
accent
#1ACC32
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E27B

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

Preview Lab → · Contrast checker → · Palette generator →

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