#DFD99D#DFD99D

#DFD99D is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.078 H 103.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#DFD99D
RGBrgb(223, 217, 157)
HSLhsl(55, 51%, 75%)
HSVhsv(55, 30%, 87%)
CMYKcmyk(0%, 2.7%, 29.6%, 12.5%)
CIE-LABlab(85.88, -7.08, 30.37)
CIE-LCHlch(85.88, 31.19, 103.12°)
OKLaboklab(87.58% -0.0176 0.076)
OKLCHoklch(87.58% 0.078 103.1)
XYZxyz(61.3305, 67.7492, 41.7379)
Luminance0.6775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD99D #9DA3DF
analogous
#DFB89D #DFD99D #C4DF9D
triadic
#DFD99D #9DDFD9 #D99DDF
tetradic
#DFD99D #9DDFB8 #9DA3DF #DF9DC4
square
#DFD99D #9DDFB8 #9DA3DF #DF9DC4
split-complementary
#DFD99D #9DC4DF #B89DDF
monochromatic
#C1B541 #D0C76F #DFD99D #EEEBCB #F7F6E8

Accessibility & contrast

On white

1.44
#DFD99D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#DFD99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD99D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD99D#FFFFFF#000000##000000
##DFD99D1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D599
Deuteranopia (green-blind)
#E6D89F
Tritanopia (blue-blind)
#E9D1C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfd99d;
/* rgb */ color: rgb(223, 217, 157);
/* oklch */ color: oklch(87.6% 0.078 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9e4ba',
    500: '#dfd99d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd99d;
$custom-light: #e9e4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd99d",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 157
  },
  "hsl": {
    "h": 54.545,
    "s": 50.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.8758,
    "c": 0.07806,
    "h": 103.1
  },
  "luminance": 0.67748
}

Semantic roles & 50–950 ramp

primary
#DFD99D
secondary
#6970B8
accent
#35BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD99D

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

Preview Lab → · Contrast checker → · Palette generator →

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