#D7E56C#D7E56C

#D7E56C is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.7% C 0.146 H 114.9°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#D7E56C
RGBrgb(215, 229, 108)
HSLhsl(67, 70%, 66%)
HSVhsv(67, 53%, 90%)
CMYKcmyk(6.1%, 0%, 52.8%, 10.2%)
CIE-LABlab(87.76, -21.32, 56.59)
CIE-LCHlch(87.76, 60.47, 110.65°)
OKLaboklab(88.71% -0.0616 0.1327)
OKLCHoklch(88.71% 0.146 114.9)
XYZxyz(58.7514, 71.5692, 24.9037)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E56C #7A6CE5
analogous
#E5B66C #D7E56C #9AE56C
triadic
#D7E56C #6CD7E5 #E56CD7
tetradic
#D7E56C #6CE5B6 #7A6CE5 #E56C9A
square
#D7E56C #6CE5B6 #7A6CE5 #E56C9A
split-complementary
#D7E56C #6C9AE5 #B66CE5
monochromatic
#A5B620 #C9DC38 #D7E56C #E5EEA0 #F3F7D4

Accessibility & contrast

On white

1.37
#D7E56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#D7E56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E56C
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E56C#FFFFFF#000000##000000
##D7E56C1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB60
Deuteranopia (green-blind)
#F2DD73
Tritanopia (blue-blind)
#E3DACA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e56c;
/* rgb */ color: rgb(215, 229, 108);
/* oklch */ color: oklch(88.7% 0.146 114.9);
Tailwind
colors: {
  custom: {
    50: '#e5ed99',
    500: '#d7e56c',
    950: '#000000',
  },
}
SCSS
$custom: #d7e56c;
$custom-light: #e5ed99;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e56c",
  "rgb": {
    "r": 215,
    "g": 229,
    "b": 108
  },
  "hsl": {
    "h": 66.942,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8871,
    "c": 0.14629,
    "h": 114.9
  },
  "luminance": 0.71568
}

Semantic roles & 50–950 ramp

primary
#D7E56C
secondary
#4C3FB7
accent
#14D22A
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E56C

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

Preview Lab → · Contrast checker → · Palette generator →

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