#DDCC5F#DDCC5F

#DDCC5F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.131 H 100.5°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#DDCC5F
RGBrgb(221, 204, 95)
HSLhsl(52, 65%, 62%)
HSVhsv(52, 57%, 87%)
CMYKcmyk(0%, 7.7%, 57%, 13.3%)
CIE-LABlab(81.50, -7.49, 55.43)
CIE-LCHlch(81.50, 55.94, 97.70°)
OKLaboklab(83.8% -0.0239 0.1287)
OKLCHoklch(83.8% 0.131 100.5)
XYZxyz(53.4791, 59.3862, 19.4699)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC5F #5F70DD
analogous
#DD8D5F #DDCC5F #AFDD5F
triadic
#DDCC5F #5FDDCC #CC5FDD
tetradic
#DDCC5F #5FDD8D #5F70DD #DD5FAF
square
#DDCC5F #5FDD8D #5F70DD #DD5FAF
split-complementary
#DDCC5F #5FAFDD #8D5FDD
monochromatic
#A08F22 #D2BC2D #DDCC5F #E8DC91 #F2ECC4

Accessibility & contrast

On white

1.63
#DDCC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#DDCC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC5F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC5F#FFFFFF#000000##000000
##DDCC5F1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E2CE64
Tritanopia (blue-blind)
#ECBFB4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ddcc5f;
/* rgb */ color: rgb(221, 204, 95);
/* oklch */ color: oklch(83.8% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#eadb90',
    500: '#ddcc5f',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc5f;
$custom-light: #eadb90;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc5f",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 51.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83798,
    "c": 0.13092,
    "h": 100.5
  },
  "luminance": 0.59384
}

Semantic roles & 50–950 ramp

primary
#DDCC5F
secondary
#3D4BA3
accent
#31CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DDCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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