#DFC97B#DFC97B

#DFC97B is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.101 H 94.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DFC97B
RGBrgb(223, 201, 123)
HSLhsl(47, 61%, 68%)
HSVhsv(47, 45%, 87%)
CMYKcmyk(0%, 9.9%, 44.8%, 12.5%)
CIE-LABlab(81.23, -2.72, 41.67)
CIE-LCHlch(81.23, 41.75, 93.73°)
OKLaboklab(83.73% -0.0073 0.1009)
OKLCHoklch(83.73% 0.101 94.2)
XYZxyz(54.8947, 58.8934, 27.2110)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC97B #7B91DF
analogous
#DF977B #DFC97B #C3DF7B
triadic
#DFC97B #7BDFC9 #C97BDF
tetradic
#DFC97B #7BDF97 #7B91DF #DF7BC3
square
#DFC97B #7BDF97 #7B91DF #DF7BC3
split-complementary
#DFC97B #7BC3DF #977BDF
monochromatic
#B4962C #D3B54A #DFC97B #EBDDAC #F7F1DE

Accessibility & contrast

On white

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

On black

12.78
#DFC97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC97B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC97B#FFFFFF#000000##000000
##DFC97B1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc97b;
/* rgb */ color: rgb(223, 201, 123);
/* oklch */ color: oklch(83.7% 0.101 94.2);
Tailwind
colors: {
  custom: {
    50: '#ebd9a2',
    500: '#dfc97b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc97b;
$custom-light: #ebd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc97b",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 46.8,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83732,
    "c": 0.10113,
    "h": 94.2
  },
  "luminance": 0.58891
}

Semantic roles & 50–950 ramp

primary
#DFC97B
secondary
#4961B5
accent
#43C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC97B

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

Preview Lab → · Contrast checker → · Palette generator →

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