#D5DF97#D5DF97

#D5DF97 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.094 H 114.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#D5DF97
RGBrgb(213, 223, 151)
HSLhsl(68, 53%, 73%)
HSVhsv(68, 32%, 87%)
CMYKcmyk(4.5%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.58, -14.64, 34.24)
CIE-LCHlch(86.58, 37.24, 113.16°)
OKLaboklab(87.92% -0.0393 0.085)
OKLCHoklch(87.92% 0.094 114.8)
XYZxyz(59.4142, 69.1564, 39.4907)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF97 #A197DF
analogous
#DFC597 #D5DF97 #B1DF97
triadic
#D5DF97 #97D5DF #DF97D5
tetradic
#D5DF97 #97DFC5 #A197DF #DF97B1
square
#D5DF97 #97DFC5 #A197DF #DF97B1
split-complementary
#D5DF97 #97B1DF #C597DF
monochromatic
#AEC03B #C2D168 #D5DF97 #E8EDC6 #F6F8E8

Accessibility & contrast

On white

1.42
#D5DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#D5DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF97
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF97#FFFFFF#000000##000000
##D5DF971.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5df97;
/* rgb */ color: rgb(213, 223, 151);
/* oklch */ color: oklch(87.9% 0.094 114.8);
Tailwind
colors: {
  custom: {
    50: '#e2e9b6',
    500: '#d5df97',
    950: '#000000',
  },
}
SCSS
$custom: #d5df97;
$custom-light: #e2e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df97",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 68.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87915,
    "c": 0.09367,
    "h": 114.8
  },
  "luminance": 0.69156
}

Semantic roles & 50–950 ramp

primary
#D5DF97
secondary
#6F63B7
accent
#25C03B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D5DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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