#DFD59A#DFD59A

#DFD59A is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.077 H 99.7°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DFD59A
RGBrgb(223, 213, 154)
HSLhsl(51, 52%, 74%)
HSVhsv(51, 31%, 87%)
CMYKcmyk(0%, 4.5%, 30.9%, 12.5%)
CIE-LABlab(84.80, -5.41, 30.47)
CIE-LCHlch(84.80, 30.95, 100.08°)
OKLaboklab(86.71% -0.013 0.0762)
OKLCHoklch(86.71% 0.077 99.7)
XYZxyz(60.0590, 65.6110, 40.0660)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD59A #9AA4DF
analogous
#DFB39A #DFD59A #C7DF9A
triadic
#DFD59A #9ADFD5 #D59ADF
tetradic
#DFD59A #9ADFB3 #9AA4DF #DF9AC7
square
#DFD59A #9ADFB3 #9AA4DF #DF9AC7
split-complementary
#DFD59A #9AC7DF #B39ADF
monochromatic
#C1AE3D #D0C26C #DFD59A #EEE8C8 #F8F5E8

Accessibility & contrast

On white

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

On black

14.12
#DFD59A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD59A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD59A#FFFFFF#000000##000000
##DFD59A1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd59a;
/* rgb */ color: rgb(223, 213, 154);
/* oklch */ color: oklch(86.7% 0.077 99.7);
Tailwind
colors: {
  custom: {
    50: '#eae1b8',
    500: '#dfd59a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd59a;
$custom-light: #eae1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd59a",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 154
  },
  "hsl": {
    "h": 51.304,
    "s": 51.88,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86706,
    "c": 0.07731,
    "h": 99.7
  },
  "luminance": 0.6561
}

Semantic roles & 50–950 ramp

primary
#DFD59A
secondary
#6672B7
accent
#3CBF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD59A

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

Preview Lab → · Contrast checker → · Palette generator →

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