#D4E18B#D4E18B

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

Color values

HEX#D4E18B
RGBrgb(212, 225, 139)
HSLhsl(69, 59%, 71%)
HSVhsv(69, 38%, 88%)
CMYKcmyk(5.8%, 0%, 38.2%, 11.8%)
CIE-LABlab(86.86, -17.46, 40.62)
CIE-LCHlch(86.86, 44.21, 113.26°)
OKLaboklab(88.06% -0.0479 0.0994)
OKLCHoklch(88.06% 0.11 115.7)
XYZxyz(58.7371, 69.7121, 34.7826)
Luminance0.6971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E18B #988BE1
analogous
#E1C38B #D4E18B #A9E18B
triadic
#D4E18B #8BD4E1 #E18BD4
tetradic
#D4E18B #8BE1C3 #988BE1 #E18BA9
square
#D4E18B #8BE1C3 #988BE1 #E18BA9
split-complementary
#D4E18B #8BA9E1 #C38BE1
monochromatic
#AAC032 #C2D45A #D4E18B #E6EEBC #F6F9E7

Accessibility & contrast

On white

1.41
#D4E18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#D4E18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E18B
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E18B#FFFFFF#000000##000000
##D4E18B1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e18b;
/* rgb */ color: rgb(212, 225, 139);
/* oklch */ color: oklch(88.1% 0.110 115.7);
Tailwind
colors: {
  custom: {
    50: '#e2eaae',
    500: '#d4e18b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e18b;
$custom-light: #e2eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e18b",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 139
  },
  "hsl": {
    "h": 69.07,
    "s": 58.904,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88056,
    "c": 0.11033,
    "h": 115.7
  },
  "luminance": 0.69712
}

Semantic roles & 50–950 ramp

primary
#D4E18B
secondary
#6657B9
accent
#1FC738
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4E18B

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

Preview Lab → · Contrast checker → · Palette generator →

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