#D7E956#D7E956

#D7E956 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.3% C 0.169 H 115.9°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#D7E956
RGBrgb(215, 233, 86)
HSLhsl(67, 77%, 63%)
HSVhsv(67, 63%, 91%)
CMYKcmyk(7.7%, 0%, 63.1%, 8.6%)
CIE-LABlab(88.64, -24.88, 66.97)
CIE-LCHlch(88.64, 71.44, 110.38°)
OKLaboklab(89.35% -0.0738 0.1522)
OKLCHoklch(89.35% 0.169 115.9)
XYZxyz(58.8443, 73.3976, 19.8696)
Luminance0.7340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E956 #6856E9
analogous
#E9B256 #D7E956 #8DE956
triadic
#D7E956 #56D7E9 #E956D7
tetradic
#D7E956 #56E9B2 #6856E9 #E9568D
square
#D7E956 #56E9B2 #6856E9 #E9568D
split-complementary
#D7E956 #568DE9 #B256E9
monochromatic
#9BAE17 #CAE220 #D7E956 #E4F08C #F1F7C2

Accessibility & contrast

On white

1.34
#D7E956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#D7E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E956
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E956#FFFFFF#000000##000000
##D7E9561.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE43
Deuteranopia (green-blind)
#F7E060
Tritanopia (blue-blind)
#E4DCCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e956;
/* rgb */ color: rgb(215, 233, 86);
/* oklch */ color: oklch(89.3% 0.169 115.9);
Tailwind
colors: {
  custom: {
    50: '#e6ef8c',
    500: '#d7e956',
    950: '#000000',
  },
}
SCSS
$custom: #d7e956;
$custom-light: #e6ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e956",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 67.347,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89348,
    "c": 0.16915,
    "h": 115.9
  },
  "luminance": 0.73397
}

Semantic roles & 50–950 ramp

primary
#D7E956
secondary
#4334AF
accent
#0CD925
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7E956

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

Preview Lab → · Contrast checker → · Palette generator →

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