#D6D97A#D6D97A

#D6D97A is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.118 H 110.2°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D6D97A
RGBrgb(214, 217, 122)
HSLhsl(62, 56%, 66%)
HSVhsv(62, 44%, 85%)
CMYKcmyk(1.4%, 0%, 43.8%, 14.9%)
CIE-LABlab(84.65, -14.54, 46.26)
CIE-LCHlch(84.65, 48.49, 107.44°)
OKLaboklab(86.26% -0.041 0.1112)
OKLCHoklch(86.26% 0.118 110.2)
XYZxyz(56.0582, 65.3281, 28.0651)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D97A #7D7AD9
analogous
#D9AD7A #D6D97A #A7D97A
triadic
#D6D97A #7AD6D9 #D97AD6
tetradic
#D6D97A #7AD9AD #7D7AD9 #D97AA7
square
#D6D97A #7AD9AD #7D7AD9 #D97AA7
split-complementary
#D6D97A #7AA7D9 #AD7AD9
monochromatic
#A5A830 #C7CB4A #D6D97A #E5E7AA #F3F4D9

Accessibility & contrast

On white

1.49
#D6D97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D6D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D97A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D97A#FFFFFF#000000##000000
##D6D97A1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6d97a;
/* rgb */ color: rgb(214, 217, 122);
/* oklch */ color: oklch(86.3% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#e4e4a2',
    500: '#d6d97a',
    950: '#000000',
  },
}
SCSS
$custom: #d6d97a;
$custom-light: #e4e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d97a",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 61.895,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86262,
    "c": 0.11849,
    "h": 110.2
  },
  "luminance": 0.65327
}

Semantic roles & 50–950 ramp

primary
#D6D97A
secondary
#4F4CAC
accent
#22C327
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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