#DDC77D#DDC77D

#DDC77D is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.2% C 0.097 H 93.4°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DDC77D
RGBrgb(221, 199, 125)
HSLhsl(46, 59%, 68%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 10%, 43.4%, 13.3%)
CIE-LABlab(80.57, -2.29, 39.79)
CIE-LCHlch(80.57, 39.85, 93.29°)
OKLaboklab(83.18% -0.0058 0.0967)
OKLCHoklch(83.18% 0.097 93.4)
XYZxyz(53.9453, 57.7017, 27.6940)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC77D #7D93DD
analogous
#DD977D #DDC77D #C3DD7D
triadic
#DDC77D #7DDDC7 #C77DDD
tetradic
#DDC77D #7DDD97 #7D93DD #DD7DC3
square
#DDC77D #7DDD97 #7D93DD #DD7DC3
split-complementary
#DDC77D #7DC3DD #977DDD
monochromatic
#B1932E #D0B24C #DDC77D #EADCAE #F6F1DE

Accessibility & contrast

On white

1.67
#DDC77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DDC77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC77D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC77D#FFFFFF#000000##000000
##DDC77D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C477
Deuteranopia (green-blind)
#DBCB80
Tritanopia (blue-blind)
#EBBCB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc77d;
/* rgb */ color: rgb(221, 199, 125);
/* oklch */ color: oklch(83.2% 0.097 93.4);
Tailwind
colors: {
  custom: {
    50: '#e9d7a4',
    500: '#ddc77d',
    950: '#000000',
  },
}
SCSS
$custom: #ddc77d;
$custom-light: #e9d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc77d",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 46.25,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83178,
    "c": 0.09691,
    "h": 93.4
  },
  "luminance": 0.577
}

Semantic roles & 50–950 ramp

primary
#DDC77D
secondary
#4B63B3
accent
#46C61F
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDC77D

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

Preview Lab → · Contrast checker → · Palette generator →

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