#D7E157#D7E157

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

Color values

HEX#D7E157
RGBrgb(215, 225, 87)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4.4%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.50, -20.96, 64.28)
CIE-LCHlch(86.50, 67.62, 108.06°)
OKLaboklab(87.64% -0.0627 0.1467)
OKLCHoklch(87.64% 0.16 113.1)
XYZxyz(56.6713, 68.9867, 19.3454)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E157 #6157E1
analogous
#E1A657 #D7E157 #92E157
triadic
#D7E157 #57D7E1 #E157D7
tetradic
#D7E157 #57E1A6 #6157E1 #E15792
square
#D7E157 #57E1A6 #6157E1 #E15792
split-complementary
#D7E157 #5792E1 #A657E1
monochromatic
#97A11D #C8D526 #D7E157 #E3EA8B #F0F4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7E157#FFFFFF#000000##000000
##D7E1571.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)
#F1D746
Deuteranopia (green-blind)
#F1DA60
Tritanopia (blue-blind)
#E4D4C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e157;
/* rgb */ color: rgb(215, 225, 87);
/* oklch */ color: oklch(87.6% 0.160 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6ea8c',
    500: '#d7e157',
    950: '#000000',
  },
}
SCSS
$custom: #d7e157;
$custom-light: #e6ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e157",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 64.348,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87637,
    "c": 0.15952,
    "h": 113.1
  },
  "luminance": 0.68986
}

Semantic roles & 50–950 ramp

primary
#D7E157
secondary
#4038A4
accent
#14D222
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E157

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

Preview Lab → · Contrast checker → · Palette generator →

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