#D5D497#D5D497

#D5D497 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.080 H 107.2°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D5D497
RGBrgb(213, 212, 151)
HSLhsl(59, 42%, 71%)
HSVhsv(59, 29%, 84%)
CMYKcmyk(0%, 0.5%, 29.1%, 16.5%)
CIE-LABlab(83.69, -9.11, 30.40)
CIE-LCHlch(83.69, 31.73, 106.68°)
OKLaboklab(85.62% -0.0235 0.076)
OKLCHoklch(85.62% 0.08 107.2)
XYZxyz(56.5702, 63.4684, 38.5427)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D497 #9798D5
analogous
#D5B597 #D5D497 #B7D597
triadic
#D5D497 #97D5D4 #D497D5
tetradic
#D5D497 #97D5B5 #9798D5 #D597B7
square
#D5D497 #97D5B5 #9798D5 #D597B7
split-complementary
#D5D497 #97B7D5 #B597D5
monochromatic
#ACAA46 #C3C26B #D5D497 #E7E6C3 #F6F6E9

Accessibility & contrast

On white

1.53
#D5D497 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D5D497 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D497
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D497#FFFFFF#000000##000000
##D5D4971.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#DFD299
Tritanopia (blue-blind)
#DECCC4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d497;
/* rgb */ color: rgb(213, 212, 151);
/* oklch */ color: oklch(85.6% 0.080 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2e1b6',
    500: '#d5d497',
    950: '#000000',
  },
}
SCSS
$custom: #d5d497;
$custom-light: #e2e1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d497",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 151
  },
  "hsl": {
    "h": 59.032,
    "s": 42.466,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85617,
    "c": 0.07955,
    "h": 107.2
  },
  "luminance": 0.63467
}

Semantic roles & 50–950 ramp

primary
#D5D497
secondary
#6566AB
accent
#32B630
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D497

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

Preview Lab → · Contrast checker → · Palette generator →

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