#DDD77C#DDD77C

#DDD77C is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.113 H 105.2°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#DDD77C
RGBrgb(221, 215, 124)
HSLhsl(56, 59%, 68%)
HSVhsv(56, 44%, 87%)
CMYKcmyk(0%, 2.7%, 43.9%, 13.3%)
CIE-LABlab(84.70, -10.56, 45.47)
CIE-LCHlch(84.70, 46.68, 103.08°)
OKLaboklab(86.45% -0.0298 0.1095)
OKLCHoklch(86.45% 0.113 105.2)
XYZxyz(57.7585, 65.4298, 28.6515)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD77C #7C82DD
analogous
#DDA77C #DDD77C #B2DD7C
triadic
#DDD77C #7CDDD7 #D77CDD
tetradic
#DDD77C #7CDDA7 #7C82DD #DD7CB2
square
#DDD77C #7CDDA7 #7C82DD #DD7CB2
split-complementary
#DDD77C #7CB2DD #A77CDD
monochromatic
#B1A92E #D0C84B #DDD77C #EAE6AD #F6F5DD

Accessibility & contrast

On white

1.49
#DDD77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#DDD77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD77C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD77C#FFFFFF#000000##000000
##DDD77C1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D175
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#EACCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ddd77c;
/* rgb */ color: rgb(221, 215, 124);
/* oklch */ color: oklch(86.4% 0.113 105.2);
Tailwind
colors: {
  custom: {
    50: '#e9e3a3',
    500: '#ddd77c',
    950: '#000000',
  },
}
SCSS
$custom: #ddd77c;
$custom-light: #e9e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd77c",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 124
  },
  "hsl": {
    "h": 56.289,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86447,
    "c": 0.11345,
    "h": 105.2
  },
  "luminance": 0.65428
}

Semantic roles & 50–950 ramp

primary
#DDD77C
secondary
#4B51B3
accent
#29C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DDD77C

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

Preview Lab → · Contrast checker → · Palette generator →

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