#D5D97A#D5D97A

#D5D97A is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.119 H 110.8°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D5D97A
RGBrgb(213, 217, 122)
HSLhsl(63, 56%, 66%)
HSVhsv(63, 44%, 85%)
CMYKcmyk(1.8%, 0%, 43.8%, 14.9%)
CIE-LABlab(84.58, -14.93, 46.14)
CIE-LCHlch(84.58, 48.50, 107.93°)
OKLaboklab(86.18% -0.042 0.1109)
OKLCHoklch(86.18% 0.119 110.8)
XYZxyz(55.7672, 65.1780, 28.0515)
Luminance0.6518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D97A #7E7AD9
analogous
#D9AE7A #D5D97A #A6D97A
triadic
#D5D97A #7AD5D9 #D97AD5
tetradic
#D5D97A #7AD9AE #7E7AD9 #D97AA6
square
#D5D97A #7AD9AE #7E7AD9 #D97AA6
split-complementary
#D5D97A #7AA6D9 #AE7AD9
monochromatic
#A3A830 #C6CB4A #D5D97A #E4E7AA #F3F4D9

Accessibility & contrast

On white

1.50
#D5D97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D5D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D97A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D97A#FFFFFF#000000##000000
##D5D97A1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D272
Deuteranopia (green-blind)
#E7D57F
Tritanopia (blue-blind)
#E0CFC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d97a;
/* rgb */ color: rgb(213, 217, 122);
/* oklch */ color: oklch(86.2% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#e3e4a2',
    500: '#d5d97a',
    950: '#000000',
  },
}
SCSS
$custom: #d5d97a;
$custom-light: #e3e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d97a",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 62.526,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86182,
    "c": 0.11864,
    "h": 110.8
  },
  "luminance": 0.65177
}

Semantic roles & 50–950 ramp

primary
#D5D97A
secondary
#504CAC
accent
#22C329
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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