#D4E28A#D4E28A

#D4E28A is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.113 H 116.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#D4E28A
RGBrgb(212, 226, 138)
HSLhsl(70, 60%, 71%)
HSVhsv(70, 39%, 89%)
CMYKcmyk(6.2%, 0%, 38.9%, 11.4%)
CIE-LABlab(87.11, -18.06, 41.44)
CIE-LCHlch(87.11, 45.20, 113.55°)
OKLaboklab(88.25% -0.0497 0.1012)
OKLCHoklch(88.25% 0.113 116.1)
XYZxyz(58.9355, 70.2253, 34.4899)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E28A #988AE2
analogous
#E2C48A #D4E28A #A8E28A
triadic
#D4E28A #8AD4E2 #E28AD4
tetradic
#D4E28A #8AE2C4 #988AE2 #E28AA8
square
#D4E28A #8AE2C4 #988AE2 #E28AA8
split-complementary
#D4E28A #8AA8E2 #C48AE2
monochromatic
#AAC230 #C2D659 #D4E28A #E6EEBB #F6F9E6

Accessibility & contrast

On white

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

On black

15.05
#D4E28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E28A
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E28A#FFFFFF#000000##000000
##D4E28A1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA83
Deuteranopia (green-blind)
#ECDB8E
Tritanopia (blue-blind)
#DDD9CC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e28a;
/* rgb */ color: rgb(212, 226, 138);
/* oklch */ color: oklch(88.3% 0.113 116.1);
Tailwind
colors: {
  custom: {
    50: '#e2ebad',
    500: '#d4e28a',
    950: '#000000',
  },
}
SCSS
$custom: #d4e28a;
$custom-light: #e2ebad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e28a",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 138
  },
  "hsl": {
    "h": 69.545,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88252,
    "c": 0.11276,
    "h": 116.1
  },
  "luminance": 0.70225
}

Semantic roles & 50–950 ramp

primary
#D4E28A
secondary
#6656BA
accent
#1EC839
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4E28A

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

Preview Lab → · Contrast checker → · Palette generator →

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