#D4E98C#D4E98C

#D4E98C is a very light, moderate yellow-green. Relative luminance 0.742; OKLCH L 89.8% C 0.120 H 119.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#D4E98C
RGBrgb(212, 233, 140)
HSLhsl(74, 68%, 73%)
HSVhsv(74, 40%, 91%)
CMYKcmyk(9%, 0%, 39.9%, 8.6%)
CIE-LABlab(89.00, -21.25, 42.86)
CIE-LCHlch(89.00, 47.84, 116.37°)
OKLaboklab(89.77% -0.0586 0.1046)
OKLCHoklch(89.77% 0.12 119.3)
XYZxyz(61.0240, 74.1686, 35.9070)
Luminance0.7417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E98C #A18CE9
analogous
#E9CF8C #D4E98C #A5E98C
triadic
#D4E98C #8CD4E9 #E98CD4
tetradic
#D4E98C #8CE9CF #A18CE9 #E98CA5
square
#D4E98C #8CE9CF #A18CE9 #E98CA5
split-complementary
#D4E98C #8CA5E9 #CF8CE9
monochromatic
#ACD228 #C1DF59 #D4E98C #E7F3BF #F5FAE5

Accessibility & contrast

On white

1.33
#D4E98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#D4E98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E98C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E98C#FFFFFF#000000##000000
##D4E98C1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E085
Deuteranopia (green-blind)
#F1E091
Tritanopia (blue-blind)
#DCE0D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4e98c;
/* rgb */ color: rgb(212, 233, 140);
/* oklch */ color: oklch(89.8% 0.120 119.3);
Tailwind
colors: {
  custom: {
    50: '#e2f0af',
    500: '#d4e98c',
    950: '#000000',
  },
}
SCSS
$custom: #d4e98c;
$custom-light: #e2f0af;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e98c",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 140
  },
  "hsl": {
    "h": 73.548,
    "s": 67.883,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89774,
    "c": 0.11986,
    "h": 119.3
  },
  "luminance": 0.74168
}

Semantic roles & 50–950 ramp

primary
#D4E98C
secondary
#6F56C3
accent
#16D040
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D4E98C

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

Preview Lab → · Contrast checker → · Palette generator →

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