#D7E96B#D7E96B

#D7E96B is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.6% C 0.152 H 116.3°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#D7E96B
RGBrgb(215, 233, 107)
HSLhsl(69, 74%, 67%)
HSVhsv(69, 54%, 91%)
CMYKcmyk(7.7%, 0%, 54.1%, 8.6%)
CIE-LABlab(88.82, -23.33, 58.26)
CIE-LCHlch(88.82, 62.76, 111.83°)
OKLaboklab(89.56% -0.0674 0.1362)
OKLCHoklch(89.56% 0.152 116.3)
XYZxyz(59.8181, 73.7871, 24.9982)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E96B #7D6BE9
analogous
#E9BC6B #D7E96B #98E96B
triadic
#D7E96B #6BD7E9 #E96BD7
tetradic
#D7E96B #6BE9BC #7D6BE9 #E96B98
square
#D7E96B #6BE9BC #7D6BE9 #E96B98
split-complementary
#D7E96B #6B98E9 #BC6BE9
monochromatic
#A6BD1C #C9E136 #D7E96B #E5F1A0 #F4F9D6

Accessibility & contrast

On white

1.33
#D7E96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#D7E96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E96B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E96B#FFFFFF#000000##000000
##D7E96B1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE5E
Deuteranopia (green-blind)
#F6E072
Tritanopia (blue-blind)
#E3DECD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7e96b;
/* rgb */ color: rgb(215, 233, 107);
/* oklch */ color: oklch(89.6% 0.152 116.3);
Tailwind
colors: {
  custom: {
    50: '#e6f099',
    500: '#d7e96b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e96b;
$custom-light: #e6f099;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e96b",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 68.571,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89556,
    "c": 0.15196,
    "h": 116.3
  },
  "luminance": 0.73786
}

Semantic roles & 50–950 ramp

primary
#D7E96B
secondary
#4E3CBC
accent
#0FD62C
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D7E96B

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

Preview Lab → · Contrast checker → · Palette generator →

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