#DFD299#DFD299

#DFD299 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.1% C 0.075 H 96.8°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DFD299
RGBrgb(223, 210, 153)
HSLhsl(49, 52%, 74%)
HSVhsv(49, 31%, 87%)
CMYKcmyk(0%, 5.8%, 31.4%, 12.5%)
CIE-LABlab(84.01, -4.00, 29.93)
CIE-LCHlch(84.01, 30.20, 97.61°)
OKLaboklab(86.08% -0.0089 0.0749)
OKLCHoklch(86.08% 0.075 96.8)
XYZxyz(59.2284, 64.0826, 39.3800)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD299 #99A6DF
analogous
#DFAF99 #DFD299 #C9DF99
triadic
#DFD299 #99DFD2 #D299DF
tetradic
#DFD299 #99DFAF #99A6DF #DF99C9
square
#DFD299 #99DFAF #99A6DF #DF99C9
split-complementary
#DFD299 #99C9DF #AF99DF
monochromatic
#C1A83D #D0BD6A #DFD299 #EEE7C8 #F8F5E8

Accessibility & contrast

On white

1.52
#DFD299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DFD299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD299
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD299#FFFFFF#000000##000000
##DFD2991.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCF95
Deuteranopia (green-blind)
#E1D49B
Tritanopia (blue-blind)
#EACAC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd299;
/* rgb */ color: rgb(223, 210, 153);
/* oklch */ color: oklch(86.1% 0.075 96.8);
Tailwind
colors: {
  custom: {
    50: '#eadfb7',
    500: '#dfd299',
    950: '#000000',
  },
}
SCSS
$custom: #dfd299;
$custom-light: #eadfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd299",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 48.857,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.86077,
    "c": 0.07544,
    "h": 96.8
  },
  "luminance": 0.64081
}

Semantic roles & 50–950 ramp

primary
#DFD299
secondary
#6574B7
accent
#42C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD299

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

Preview Lab → · Contrast checker → · Palette generator →

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