#DFD59F#DFD59F

#DFD59F is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.071 H 98.8°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DFD59F
RGBrgb(223, 213, 159)
HSLhsl(51, 50%, 75%)
HSVhsv(51, 29%, 87%)
CMYKcmyk(0%, 4.5%, 28.7%, 12.5%)
CIE-LABlab(84.88, -4.78, 28.00)
CIE-LCHlch(84.88, 28.40, 99.69°)
OKLaboklab(86.8% -0.011 0.0704)
OKLCHoklch(86.8% 0.071 98.8)
XYZxyz(60.4841, 65.7810, 42.3050)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD59F #9FA9DF
analogous
#DFB59F #DFD59F #C9DF9F
triadic
#DFD59F #9FDFD5 #D59FDF
tetradic
#DFD59F #9FDFB5 #9FA9DF #DF9FC9
square
#DFD59F #9FDFB5 #9FA9DF #DF9FC9
split-complementary
#DFD59F #9FC9DF #B59FDF
monochromatic
#C0AD43 #D0C171 #DFD59F #EEE9CD #F7F5E8

Accessibility & contrast

On white

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

On black

14.16
#DFD59F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD59F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD59F#FFFFFF#000000##000000
##DFD59F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D29B
Deuteranopia (green-blind)
#E3D6A1
Tritanopia (blue-blind)
#E9CDC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd59f;
/* rgb */ color: rgb(223, 213, 159);
/* oklch */ color: oklch(86.8% 0.071 98.8);
Tailwind
colors: {
  custom: {
    50: '#e9e1bb',
    500: '#dfd59f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd59f;
$custom-light: #e9e1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd59f",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 159
  },
  "hsl": {
    "h": 50.625,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.86803,
    "c": 0.07127,
    "h": 98.8
  },
  "luminance": 0.6578
}

Semantic roles & 50–950 ramp

primary
#DFD59F
secondary
#6B77B8
accent
#3FBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD59F

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

Preview Lab → · Contrast checker → · Palette generator →

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