#D7DF97#D7DF97

#D7DF97 is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.1% C 0.093 H 113.5°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#D7DF97
RGBrgb(215, 223, 151)
HSLhsl(67, 53%, 73%)
HSVhsv(67, 32%, 87%)
CMYKcmyk(3.6%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.73, -13.89, 34.46)
CIE-LCHlch(86.73, 37.15, 111.95°)
OKLaboklab(88.07% -0.0372 0.0856)
OKLCHoklch(88.07% 0.093 113.5)
XYZxyz(59.9981, 69.4574, 39.5181)
Luminance0.6946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF97 #9F97DF
analogous
#DFC397 #D7DF97 #B3DF97
triadic
#D7DF97 #97D7DF #DF97D7
tetradic
#D7DF97 #97DFC3 #9F97DF #DF97B3
square
#D7DF97 #97DFC3 #9F97DF #DF97B3
split-complementary
#D7DF97 #97B3DF #C397DF
monochromatic
#B2C03B #C5D168 #D7DF97 #E9EDC6 #F6F8E8

Accessibility & contrast

On white

1.41
#D7DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#D7DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF97
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF97#FFFFFF#000000##000000
##D7DF971.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#E9DA9A
Tritanopia (blue-blind)
#DFD7CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7df97;
/* rgb */ color: rgb(215, 223, 151);
/* oklch */ color: oklch(88.1% 0.093 113.5);
Tailwind
colors: {
  custom: {
    50: '#e4e9b6',
    500: '#d7df97',
    950: '#000000',
  },
}
SCSS
$custom: #d7df97;
$custom-light: #e4e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df97",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 66.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.8807,
    "c": 0.09329,
    "h": 113.5
  },
  "luminance": 0.69457
}

Semantic roles & 50–950 ramp

primary
#D7DF97
secondary
#6C63B7
accent
#25C036
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #D7DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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