#DFD59C#DFD59C

#DFD59C is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.075 H 99.4°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DFD59C
RGBrgb(223, 213, 156)
HSLhsl(51, 51%, 74%)
HSVhsv(51, 30%, 87%)
CMYKcmyk(0%, 4.5%, 30%, 12.5%)
CIE-LABlab(84.83, -5.16, 29.48)
CIE-LCHlch(84.83, 29.93, 99.93°)
OKLaboklab(86.75% -0.0122 0.0739)
OKLCHoklch(86.75% 0.075 99.4)
XYZxyz(60.2269, 65.6781, 40.9506)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD59C #9CA6DF
analogous
#DFB49C #DFD59C #C8DF9C
triadic
#DFD59C #9CDFD5 #D59CDF
tetradic
#DFD59C #9CDFB4 #9CA6DF #DF9CC8
square
#DFD59C #9CDFB4 #9CA6DF #DF9CC8
split-complementary
#DFD59C #9CC8DF #B49CDF
monochromatic
#C1AE40 #D0C16E #DFD59C #EEE9CA #F8F5E8

Accessibility & contrast

On white

1.49
#DFD59C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DFD59C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD59C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD59C#FFFFFF#000000##000000
##DFD59C1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D198
Deuteranopia (green-blind)
#E3D69E
Tritanopia (blue-blind)
#E9CDC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd59c;
/* rgb */ color: rgb(223, 213, 156);
/* oklch */ color: oklch(86.7% 0.075 99.4);
Tailwind
colors: {
  custom: {
    50: '#e9e1b9',
    500: '#dfd59c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd59c;
$custom-light: #e9e1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd59c",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 156
  },
  "hsl": {
    "h": 51.045,
    "s": 51.145,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86745,
    "c": 0.0749,
    "h": 99.4
  },
  "luminance": 0.65677
}

Semantic roles & 50–950 ramp

primary
#DFD59C
secondary
#6874B7
accent
#3EBF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD59C

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

Preview Lab → · Contrast checker → · Palette generator →

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