#DFC96D#DFC96D

#DFC96D is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.115 H 96.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DFC96D
RGBrgb(223, 201, 109)
HSLhsl(48, 64%, 65%)
HSVhsv(48, 51%, 87%)
CMYKcmyk(0%, 9.9%, 51.1%, 12.5%)
CIE-LABlab(81.05, -4.01, 48.36)
CIE-LCHlch(81.05, 48.52, 94.74°)
OKLaboklab(83.53% -0.0125 0.1147)
OKLCHoklch(83.53% 0.115 96.2)
XYZxyz(54.0802, 58.5676, 22.9211)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC96D #6D83DF
analogous
#DF906D #DFC96D #BCDF6D
triadic
#DFC96D #6DDFC9 #C96DDF
tetradic
#DFC96D #6DDF90 #6D83DF #DF6DBC
square
#DFC96D #6DDF90 #6D83DF #DF6DBC
split-complementary
#DFC96D #6DBCDF #906DDF
monochromatic
#AC9226 #D4B63B #DFC96D #EADC9F #F5EED1

Accessibility & contrast

On white

1.65
#DFC96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DFC96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC96D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC96D#FFFFFF#000000##000000
##DFC96D1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C565
Deuteranopia (green-blind)
#DFCC71
Tritanopia (blue-blind)
#EEBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc96d;
/* rgb */ color: rgb(223, 201, 109);
/* oklch */ color: oklch(83.5% 0.115 96.2);
Tailwind
colors: {
  custom: {
    50: '#ebd999',
    500: '#dfc96d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc96d;
$custom-light: #ebd999;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc96d",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 48.421,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83532,
    "c": 0.11541,
    "h": 96.2
  },
  "luminance": 0.58565
}

Semantic roles & 50–950 ramp

primary
#DFC96D
secondary
#4257AE
accent
#3CCC1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC96D

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

Preview Lab → · Contrast checker → · Palette generator →

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