#DFC97E#DFC97E

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

Color values

HEX#DFC97E
RGBrgb(223, 201, 126)
HSLhsl(46, 60%, 68%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 9.9%, 43.5%, 12.5%)
CIE-LABlab(81.27, -2.42, 40.21)
CIE-LCHlch(81.27, 40.28, 93.44°)
OKLaboklab(83.78% -0.0062 0.0977)
OKLCHoklch(83.78% 0.098 93.6)
XYZxyz(55.0854, 58.9697, 28.2153)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC97E #7E94DF
analogous
#DF987E #DFC97E #C4DF7E
triadic
#DFC97E #7EDFC9 #C97EDF
tetradic
#DFC97E #7EDF98 #7E94DF #DF7EC4
square
#DFC97E #7EDF98 #7E94DF #DF7EC4
split-complementary
#DFC97E #7EC4DF #987EDF
monochromatic
#B6972D #D3B44D #DFC97E #EBDEAF #F7F2E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC97E#FFFFFF#000000##000000
##DFC97E1.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)
#D8C678
Deuteranopia (green-blind)
#DDCD81
Tritanopia (blue-blind)
#EDBEB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfc97e;
/* rgb */ color: rgb(223, 201, 126);
/* oklch */ color: oklch(83.8% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#ead9a4',
    500: '#dfc97e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc97e;
$custom-light: #ead9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc97e",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 46.392,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83779,
    "c": 0.09793,
    "h": 93.6
  },
  "luminance": 0.58968
}

Semantic roles & 50–950 ramp

primary
#DFC97E
secondary
#4B63B6
accent
#44C81E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC97E

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

Preview Lab → · Contrast checker → · Palette generator →

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