#D4E28C#D4E28C

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

Color values

HEX#D4E28C
RGBrgb(212, 226, 140)
HSLhsl(70, 60%, 72%)
HSVhsv(70, 38%, 89%)
CMYKcmyk(6.2%, 0%, 38.1%, 11.4%)
CIE-LABlab(87.14, -17.83, 40.48)
CIE-LCHlch(87.14, 44.23, 113.78°)
OKLaboklab(88.28% -0.0489 0.0991)
OKLCHoklch(88.28% 0.111 116.3)
XYZxyz(59.0816, 70.2837, 35.2595)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E28C #9A8CE2
analogous
#E2C58C #D4E28C #A9E28C
triadic
#D4E28C #8CD4E2 #E28CD4
tetradic
#D4E28C #8CE2C5 #9A8CE2 #E28CA9
square
#D4E28C #8CE2C5 #9A8CE2 #E28CA9
split-complementary
#D4E28C #8CA9E2 #C58CE2
monochromatic
#ABC331 #C2D65B #D4E28C #E6EEBD #F6F9E7

Accessibility & contrast

On white

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

On black

15.06
#D4E28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E28C
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E28C#FFFFFF#000000##000000
##D4E28C1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA86
Deuteranopia (green-blind)
#ECDB90
Tritanopia (blue-blind)
#DDD9CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e28c;
/* rgb */ color: rgb(212, 226, 140);
/* oklch */ color: oklch(88.3% 0.111 116.3);
Tailwind
colors: {
  custom: {
    50: '#e2ebae',
    500: '#d4e28c',
    950: '#000000',
  },
}
SCSS
$custom: #d4e28c;
$custom-light: #e2ebae;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e28c",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 69.767,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88284,
    "c": 0.11053,
    "h": 116.3
  },
  "luminance": 0.70283
}

Semantic roles & 50–950 ramp

primary
#D4E28C
secondary
#6858BA
accent
#1EC73A
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4E28C

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

Preview Lab → · Contrast checker → · Palette generator →

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