#DFC97D#DFC97D

#DFC97D is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.099 H 93.8°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#DFC97D
RGBrgb(223, 201, 125)
HSLhsl(47, 60%, 68%)
HSVhsv(47, 44%, 87%)
CMYKcmyk(0%, 9.9%, 43.9%, 12.5%)
CIE-LABlab(81.26, -2.52, 40.69)
CIE-LCHlch(81.26, 40.77, 93.54°)
OKLaboklab(83.76% -0.0066 0.0988)
OKLCHoklch(83.76% 0.099 93.8)
XYZxyz(55.0212, 58.9440, 27.8771)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC97D #7D93DF
analogous
#DF987D #DFC97D #C4DF7D
triadic
#DFC97D #7DDFC9 #C97DDF
tetradic
#DFC97D #7DDF98 #7D93DF #DF7DC4
square
#DFC97D #7DDF98 #7D93DF #DF7DC4
split-complementary
#DFC97D #7DC4DF #987DDF
monochromatic
#B5962D #D3B54C #DFC97D #EBDDAE #F7F2DF

Accessibility & contrast

On white

1.64
#DFC97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#DFC97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC97D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC97D#FFFFFF#000000##000000
##DFC97D1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#DECD80
Tritanopia (blue-blind)
#EDBEB6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfc97d;
/* rgb */ color: rgb(223, 201, 125);
/* oklch */ color: oklch(83.8% 0.099 93.8);
Tailwind
colors: {
  custom: {
    50: '#ebd9a4',
    500: '#dfc97d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc97d;
$custom-light: #ebd9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc97d",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 46.531,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83763,
    "c": 0.099,
    "h": 93.8
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#DFC97D
secondary
#4A62B6
accent
#44C81D
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC97D

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

Preview Lab → · Contrast checker → · Palette generator →

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