#D7E057#D7E057

#D7E057 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.4% C 0.158 H 112.8°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#D7E057
RGBrgb(215, 224, 87)
HSLhsl(64, 69%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4%, 0%, 61.2%, 12.2%)
CIE-LABlab(86.23, -20.48, 64.00)
CIE-LCHlch(86.23, 67.19, 107.74°)
OKLaboklab(87.42% -0.0613 0.1461)
OKLCHoklch(87.42% 0.158 112.8)
XYZxyz(56.4017, 68.4477, 19.2556)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E057 #6057E0
analogous
#E0A457 #D7E057 #92E057
triadic
#D7E057 #57D7E0 #E057D7
tetradic
#D7E057 #57E0A4 #6057E0 #E05792
square
#D7E057 #57E0A4 #6057E0 #E05792
split-complementary
#D7E057 #5792E0 #A457E0
monochromatic
#979F1D #C8D327 #D7E057 #E3EA8B #F0F3BE

Accessibility & contrast

On white

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

On black

14.69
#D7E057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E057
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E057#FFFFFF#000000##000000
##D7E0571.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7e057;
/* rgb */ color: rgb(215, 224, 87);
/* oklch */ color: oklch(87.4% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#e6e98c',
    500: '#d7e057',
    950: '#000000',
  },
}
SCSS
$custom: #d7e057;
$custom-light: #e6e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e057",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 63.942,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87423,
    "c": 0.15843,
    "h": 112.8
  },
  "luminance": 0.68447
}

Semantic roles & 50–950 ramp

primary
#D7E057
secondary
#4039A2
accent
#15D121
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E057

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

Preview Lab → · Contrast checker → · Palette generator →

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