#DDCC79#DDCC79

#DDCC79 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.106 H 98.0°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#DDCC79
RGBrgb(221, 204, 121)
HSLhsl(50, 60%, 67%)
HSVhsv(50, 45%, 87%)
CMYKcmyk(0%, 7.7%, 45.2%, 13.3%)
CIE-LABlab(81.81, -5.26, 43.35)
CIE-LCHlch(81.81, 43.66, 96.92°)
OKLaboklab(84.14% -0.0148 0.1045)
OKLCHoklch(84.14% 0.106 98)
XYZxyz(54.8643, 59.9403, 26.7651)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC79 #798ADD
analogous
#DD9A79 #DDCC79 #BCDD79
triadic
#DDCC79 #79DDCC #CC79DD
tetradic
#DDCC79 #79DD9A #798ADD #DD79BC
square
#DDCC79 #79DD9A #798ADD #DD79BC
split-complementary
#DDCC79 #79BCDD #9A79DD
monochromatic
#AF992C #D1B948 #DDCC79 #E9DFAA #F6F1DB

Accessibility & contrast

On white

1.62
#DDCC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#DDCC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC79
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC79#FFFFFF#000000##000000
##DDCC791.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC872
Deuteranopia (green-blind)
#E0CE7C
Tritanopia (blue-blind)
#EBC1B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcc79;
/* rgb */ color: rgb(221, 204, 121);
/* oklch */ color: oklch(84.1% 0.106 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9dba1',
    500: '#ddcc79',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc79;
$custom-light: #e9dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc79",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 49.8,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84135,
    "c": 0.10557,
    "h": 98
  },
  "luminance": 0.59938
}

Semantic roles & 50–950 ramp

primary
#DDCC79
secondary
#495BB1
accent
#3BC71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDCC79

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

Preview Lab → · Contrast checker → · Palette generator →

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