#D4E157#D4E157

#D4E157 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.4% C 0.160 H 114.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#D4E157
RGBrgb(212, 225, 87)
HSLhsl(66, 70%, 61%)
HSVhsv(66, 61%, 88%)
CMYKcmyk(5.8%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.27, -22.17, 63.98)
CIE-LCHlch(86.27, 67.71, 109.12°)
OKLaboklab(87.4% -0.0659 0.1461)
OKLCHoklch(87.4% 0.16 114.3)
XYZxyz(55.7982, 68.5366, 19.3045)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E157 #6457E1
analogous
#E1A957 #D4E157 #8FE157
triadic
#D4E157 #57D4E1 #E157D4
tetradic
#D4E157 #57E1A9 #6457E1 #E1578F
square
#D4E157 #57E1A9 #6457E1 #E1578F
split-complementary
#D4E157 #578FE1 #A957E1
monochromatic
#94A11D #C4D526 #D4E157 #E1EA8B #EFF4BF

Accessibility & contrast

On white

1.43
#D4E157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#D4E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E157
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E157#FFFFFF#000000##000000
##D4E1571.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D746
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#E1D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e157;
/* rgb */ color: rgb(212, 225, 87);
/* oklch */ color: oklch(87.4% 0.160 114.3);
Tailwind
colors: {
  custom: {
    50: '#e4ea8c',
    500: '#d4e157',
    950: '#000000',
  },
}
SCSS
$custom: #d4e157;
$custom-light: #e4ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e157",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 65.652,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87403,
    "c": 0.16028,
    "h": 114.3
  },
  "luminance": 0.68536
}

Semantic roles & 50–950 ramp

primary
#D4E157
secondary
#4338A4
accent
#14D226
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E157

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

Preview Lab → · Contrast checker → · Palette generator →

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