#D7E158#D7E158

#D7E158 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.159 H 113.2°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#D7E158
RGBrgb(215, 225, 88)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4.4%, 0%, 60.9%, 11.8%)
CIE-LABlab(86.51, -20.90, 63.88)
CIE-LCHlch(86.51, 67.21, 108.12°)
OKLaboklab(87.65% -0.0624 0.146)
OKLCHoklch(87.65% 0.159 113.2)
XYZxyz(56.7124, 69.0032, 19.5621)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E158 #6258E1
analogous
#E1A758 #D7E158 #93E158
triadic
#D7E158 #58D7E1 #E158D7
tetradic
#D7E158 #58E1A7 #6258E1 #E15893
square
#D7E158 #58E1A7 #6258E1 #E15893
split-complementary
#D7E158 #5893E1 #A758E1
monochromatic
#98A21D #C9D526 #D7E158 #E3EA8C #F0F4C0

Accessibility & contrast

On white

1.42
#D7E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#D7E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E158
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E158#FFFFFF#000000##000000
##D7E1581.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D747
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#E4D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e158;
/* rgb */ color: rgb(215, 225, 88);
/* oklch */ color: oklch(87.6% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#e6ea8d',
    500: '#d7e158',
    950: '#000000',
  },
}
SCSS
$custom: #d7e158;
$custom-light: #e6ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e158",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 64.38,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87646,
    "c": 0.15874,
    "h": 113.2
  },
  "luminance": 0.69002
}

Semantic roles & 50–950 ramp

primary
#D7E158
secondary
#4139A4
accent
#14D222
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D7E158

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

Preview Lab → · Contrast checker → · Palette generator →

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