#DDC57D#DDC57D

#DDC57D is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.8% C 0.095 H 91.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DDC57D
RGBrgb(221, 197, 125)
HSLhsl(45, 59%, 68%)
HSVhsv(45, 43%, 87%)
CMYKcmyk(0%, 10.9%, 43.4%, 13.3%)
CIE-LABlab(80.06, -1.25, 39.14)
CIE-LCHlch(80.06, 39.16, 91.83°)
OKLaboklab(82.77% -0.0028 0.0953)
OKLCHoklch(82.77% 0.095 91.7)
XYZxyz(53.4882, 56.7874, 27.5416)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC57D #7D95DD
analogous
#DD957D #DDC57D #C5DD7D
triadic
#DDC57D #7DDDC5 #C57DDD
tetradic
#DDC57D #7DDD95 #7D95DD #DD7DC5
square
#DDC57D #7DDD95 #7D95DD #DD7DC5
split-complementary
#DDC57D #7DC5DD #957DDD
monochromatic
#B1912E #D0AF4C #DDC57D #EADBAE #F6F0DE

Accessibility & contrast

On white

1.70
#DDC57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DDC57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC57D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC57D#FFFFFF#000000##000000
##DDC57D1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C277
Deuteranopia (green-blind)
#DACA80
Tritanopia (blue-blind)
#EBBAB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc57d;
/* rgb */ color: rgb(221, 197, 125);
/* oklch */ color: oklch(82.8% 0.095 91.7);
Tailwind
colors: {
  custom: {
    50: '#e9d6a3',
    500: '#ddc57d',
    950: '#000000',
  },
}
SCSS
$custom: #ddc57d;
$custom-light: #e9d6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc57d",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 125
  },
  "hsl": {
    "h": 45,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82774,
    "c": 0.0953,
    "h": 91.7
  },
  "luminance": 0.56785
}

Semantic roles & 50–950 ramp

primary
#DDC57D
secondary
#4B65B3
accent
#49C61F
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDC57D

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

Preview Lab → · Contrast checker → · Palette generator →

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