#DFC96E#DFC96E

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

Color values

HEX#DFC96E
RGBrgb(223, 201, 110)
HSLhsl(48, 64%, 65%)
HSVhsv(48, 51%, 87%)
CMYKcmyk(0%, 9.9%, 50.7%, 12.5%)
CIE-LABlab(81.07, -3.93, 47.89)
CIE-LCHlch(81.07, 48.05, 94.69°)
OKLaboklab(83.55% -0.0121 0.1138)
OKLCHoklch(83.55% 0.114 96.1)
XYZxyz(54.1343, 58.5893, 23.2062)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC96E #6E84DF
analogous
#DF916E #DFC96E #BCDF6E
triadic
#DFC96E #6EDFC9 #C96EDF
tetradic
#DFC96E #6EDF91 #6E84DF #DF6EBC
square
#DFC96E #6EDF91 #6E84DF #DF6EBC
split-complementary
#DFC96E #6EBCDF #916EDF
monochromatic
#AD9226 #D4B63C #DFC96E #EADCA0 #F5EED2

Accessibility & contrast

On white

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

On black

12.72
#DFC96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC96E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC96E#FFFFFF#000000##000000
##DFC96E1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc96e;
/* rgb */ color: rgb(223, 201, 110);
/* oklch */ color: oklch(83.5% 0.114 96.1);
Tailwind
colors: {
  custom: {
    50: '#ebd999',
    500: '#dfc96e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc96e;
$custom-light: #ebd999;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc96e",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 110
  },
  "hsl": {
    "h": 48.319,
    "s": 63.842,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83546,
    "c": 0.11442,
    "h": 96.1
  },
  "luminance": 0.58587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC96E

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

Preview Lab → · Contrast checker → · Palette generator →

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