#DFC97F#DFC97F

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

Color values

HEX#DFC97F
RGBrgb(223, 201, 127)
HSLhsl(46, 60%, 69%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 9.9%, 43%, 12.5%)
CIE-LABlab(81.29, -2.31, 39.72)
CIE-LCHlch(81.29, 39.79, 93.33°)
OKLaboklab(83.8% -0.0058 0.0967)
OKLCHoklch(83.8% 0.097 93.4)
XYZxyz(55.1503, 58.9956, 28.5568)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC97F #7F95DF
analogous
#DF997F #DFC97F #C5DF7F
triadic
#DFC97F #7FDFC9 #C97FDF
tetradic
#DFC97F #7FDF99 #7F95DF #DF7FC5
square
#DFC97F #7FDF99 #7F95DF #DF7FC5
split-complementary
#DFC97F #7FC5DF #997FDF
monochromatic
#B6972E #D3B44E #DFC97F #EBDEB0 #F7F2E1

Accessibility & contrast

On white

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

On black

12.80
#DFC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC97F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC97F#FFFFFF#000000##000000
##DFC97F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C679
Deuteranopia (green-blind)
#DDCD82
Tritanopia (blue-blind)
#EDBEB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfc97f;
/* rgb */ color: rgb(223, 201, 127);
/* oklch */ color: oklch(83.8% 0.097 93.4);
Tailwind
colors: {
  custom: {
    50: '#ead9a5',
    500: '#dfc97f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc97f;
$custom-light: #ead9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc97f",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 46.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83795,
    "c": 0.09685,
    "h": 93.4
  },
  "luminance": 0.58994
}

Semantic roles & 50–950 ramp

primary
#DFC97F
secondary
#4C64B6
accent
#45C81E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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