#D4E28B#D4E28B

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

Color values

HEX#D4E28B
RGBrgb(212, 226, 139)
HSLhsl(70, 60%, 72%)
HSVhsv(70, 38%, 89%)
CMYKcmyk(6.2%, 0%, 38.5%, 11.4%)
CIE-LABlab(87.12, -17.95, 40.96)
CIE-LCHlch(87.12, 44.72, 113.66°)
OKLaboklab(88.27% -0.0493 0.1002)
OKLCHoklch(88.27% 0.112 116.2)
XYZxyz(59.0082, 70.2544, 34.8730)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E28B #998BE2
analogous
#E2C58B #D4E28B #A9E28B
triadic
#D4E28B #8BD4E2 #E28BD4
tetradic
#D4E28B #8BE2C5 #998BE2 #E28BA9
square
#D4E28B #8BE2C5 #998BE2 #E28BA9
split-complementary
#D4E28B #8BA9E2 #C58BE2
monochromatic
#ABC231 #C2D65A #D4E28B #E6EEBC #F6F9E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E28B#FFFFFF#000000##000000
##D4E28B1.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)
#EDDA84
Deuteranopia (green-blind)
#ECDB8F
Tritanopia (blue-blind)
#DDD9CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e28b;
/* rgb */ color: rgb(212, 226, 139);
/* oklch */ color: oklch(88.3% 0.112 116.2);
Tailwind
colors: {
  custom: {
    50: '#e2ebae',
    500: '#d4e28b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e28b;
$custom-light: #e2ebae;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e28b",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 139
  },
  "hsl": {
    "h": 69.655,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88268,
    "c": 0.11164,
    "h": 116.2
  },
  "luminance": 0.70254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4E28B

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

Preview Lab → · Contrast checker → · Palette generator →

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