#DDCC77#DDCC77

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

Color values

HEX#DDCC77
RGBrgb(221, 204, 119)
HSLhsl(50, 60%, 67%)
HSVhsv(50, 46%, 87%)
CMYKcmyk(0%, 7.7%, 46.2%, 13.3%)
CIE-LABlab(81.78, -5.46, 44.31)
CIE-LCHlch(81.78, 44.64, 97.02°)
OKLaboklab(84.11% -0.0155 0.1066)
OKLCHoklch(84.11% 0.108 98.3)
XYZxyz(54.7429, 59.8917, 26.1258)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC77 #7788DD
analogous
#DD9977 #DDCC77 #BBDD77
triadic
#DDCC77 #77DDCC #CC77DD
tetradic
#DDCC77 #77DD99 #7788DD #DD77BB
square
#DDCC77 #77DD99 #7788DD #DD77BB
split-complementary
#DDCC77 #77BBDD #9977DD
monochromatic
#AE982C #D1BA46 #DDCC77 #E9DEA8 #F5F1D9

Accessibility & contrast

On white

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

On black

12.98
#DDCC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC77
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC77#FFFFFF#000000##000000
##DDCC771.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddcc77;
/* rgb */ color: rgb(221, 204, 119);
/* oklch */ color: oklch(84.1% 0.108 98.3);
Tailwind
colors: {
  custom: {
    50: '#e9dba0',
    500: '#ddcc77',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc77;
$custom-light: #e9dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc77",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84106,
    "c": 0.10768,
    "h": 98.3
  },
  "luminance": 0.5989
}

Semantic roles & 50–950 ramp

primary
#DDCC77
secondary
#4859B0
accent
#3AC81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDCC77

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

Preview Lab → · Contrast checker → · Palette generator →

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