#DFD59D#DFD59D

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

Color values

HEX#DFD59D
RGBrgb(223, 213, 157)
HSLhsl(51, 51%, 75%)
HSVhsv(51, 30%, 87%)
CMYKcmyk(0%, 4.5%, 29.6%, 12.5%)
CIE-LABlab(84.85, -5.04, 28.99)
CIE-LCHlch(84.85, 29.42, 99.85°)
OKLaboklab(86.76% -0.0118 0.0728)
OKLCHoklch(86.76% 0.074 99.2)
XYZxyz(60.3119, 65.7122, 41.3983)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD59D #9DA7DF
analogous
#DFB49D #DFD59D #C8DF9D
triadic
#DFD59D #9DDFD5 #D59DDF
tetradic
#DFD59D #9DDFB4 #9DA7DF #DF9DC8
square
#DFD59D #9DDFB4 #9DA7DF #DF9DC8
split-complementary
#DFD59D #9DC8DF #B49DDF
monochromatic
#C1AD41 #D0C16F #DFD59D #EEE9CB #F7F5E8

Accessibility & contrast

On white

1.48
#DFD59D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD59D#FFFFFF#000000##000000
##DFD59D1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd59d;
/* rgb */ color: rgb(223, 213, 157);
/* oklch */ color: oklch(86.8% 0.074 99.2);
Tailwind
colors: {
  custom: {
    50: '#e9e1ba',
    500: '#dfd59d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd59d;
$custom-light: #e9e1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd59d",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 157
  },
  "hsl": {
    "h": 50.909,
    "s": 50.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.0737,
    "h": 99.2
  },
  "luminance": 0.65711
}

Semantic roles & 50–950 ramp

primary
#DFD59D
secondary
#6975B8
accent
#3EBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD59D

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

Preview Lab → · Contrast checker → · Palette generator →

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