#D7C97D#D7C97D

#D7C97D is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.098 H 99.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D7C97D
RGBrgb(215, 201, 125)
HSLhsl(51, 53%, 67%)
HSVhsv(51, 42%, 84%)
CMYKcmyk(0%, 6.5%, 41.9%, 15.7%)
CIE-LABlab(80.57, -5.72, 39.68)
CIE-LCHlch(80.57, 40.09, 98.21°)
OKLaboklab(83.06% -0.0154 0.0966)
OKLCHoklch(83.06% 0.098 99.1)
XYZxyz(52.6138, 57.7027, 27.7643)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C97D #7D8BD7
analogous
#D79C7D #D7C97D #B8D77D
triadic
#D7C97D #7DD7C9 #C97DD7
tetradic
#D7C97D #7DD79C #7D8BD7 #D77DB8
square
#D7C97D #7DD79C #7D8BD7 #D77DB8
split-complementary
#D7C97D #7DB8D7 #9C7DD7
monochromatic
#A69433 #C9B64E #D7C97D #E5DCAC #F4F0DB

Accessibility & contrast

On white

1.67
#D7C97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D7C97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C97D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C97D#FFFFFF#000000##000000
##D7C97D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#DBCA80
Tritanopia (blue-blind)
#E3BFB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7c97d;
/* rgb */ color: rgb(215, 201, 125);
/* oklch */ color: oklch(83.1% 0.098 99.1);
Tailwind
colors: {
  custom: {
    50: '#e5d9a4',
    500: '#d7c97d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c97d;
$custom-light: #e5d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c97d",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 50.667,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83056,
    "c": 0.09779,
    "h": 99.1
  },
  "luminance": 0.57701
}

Semantic roles & 50–950 ramp

primary
#D7C97D
secondary
#4E5CAA
accent
#3DC025
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D7C97D

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

Preview Lab → · Contrast checker → · Palette generator →

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