#D4E18C#D4E18C

#D4E18C is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.1% C 0.109 H 115.8°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#D4E18C
RGBrgb(212, 225, 140)
HSLhsl(69, 59%, 72%)
HSVhsv(69, 38%, 88%)
CMYKcmyk(5.8%, 0%, 37.8%, 11.8%)
CIE-LABlab(86.87, -17.34, 40.14)
CIE-LCHlch(86.87, 43.72, 113.37°)
OKLaboklab(88.07% -0.0475 0.0983)
OKLCHoklch(88.07% 0.109 115.8)
XYZxyz(58.8105, 69.7415, 35.1692)
Luminance0.6974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E18C #998CE1
analogous
#E1C48C #D4E18C #AAE18C
triadic
#D4E18C #8CD4E1 #E18CD4
tetradic
#D4E18C #8CE1C4 #998CE1 #E18CAA
square
#D4E18C #8CE1C4 #998CE1 #E18CAA
split-complementary
#D4E18C #8CAAE1 #C48CE1
monochromatic
#ABC032 #C2D45B #D4E18C #E6EEBD #F6F9E7

Accessibility & contrast

On white

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

On black

14.95
#D4E18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E18C
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E18C#FFFFFF#000000##000000
##D4E18C1.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD986
Deuteranopia (green-blind)
#EBDA90
Tritanopia (blue-blind)
#DDD8CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e18c;
/* rgb */ color: rgb(212, 225, 140);
/* oklch */ color: oklch(88.1% 0.109 115.8);
Tailwind
colors: {
  custom: {
    50: '#e2eaae',
    500: '#d4e18c',
    950: '#000000',
  },
}
SCSS
$custom: #d4e18c;
$custom-light: #e2eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e18c",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 140
  },
  "hsl": {
    "h": 69.176,
    "s": 58.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88072,
    "c": 0.10922,
    "h": 115.8
  },
  "luminance": 0.69741
}

Semantic roles & 50–950 ramp

primary
#D4E18C
secondary
#6758B9
accent
#1FC639
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4E18C

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

Preview Lab → · Contrast checker → · Palette generator →

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