#DCCC5F#DCCC5F

#DCCC5F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.131 H 101.0°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#DCCC5F
RGBrgb(220, 204, 95)
HSLhsl(52, 64%, 62%)
HSVhsv(52, 57%, 86%)
CMYKcmyk(0%, 7.3%, 56.8%, 13.7%)
CIE-LABlab(81.42, -7.91, 55.31)
CIE-LCHlch(81.42, 55.88, 98.13°)
OKLaboklab(83.71% -0.0251 0.1285)
OKLCHoklch(83.71% 0.131 101)
XYZxyz(53.1755, 59.2296, 19.4557)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC5F #5F6FDC
analogous
#DC8E5F #DCCC5F #AEDC5F
triadic
#DCCC5F #5FDCCC #CC5FDC
tetradic
#DCCC5F #5FDC8E #5F6FDC #DC5FAE
square
#DCCC5F #5FDC8E #5F6FDC #DC5FAE
split-complementary
#DCCC5F #5FAEDC #8E5FDC
monochromatic
#9E8E23 #D0BB2E #DCCC5F #E7DC91 #F2ECC3

Accessibility & contrast

On white

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

On black

12.85
#DCCC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC5F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC5F#FFFFFF#000000##000000
##DCCC5F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dccc5f;
/* rgb */ color: rgb(220, 204, 95);
/* oklch */ color: oklch(83.7% 0.131 101.0);
Tailwind
colors: {
  custom: {
    50: '#e9db90',
    500: '#dccc5f',
    950: '#000000',
  },
}
SCSS
$custom: #dccc5f;
$custom-light: #e9db90;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc5f",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 52.32,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83709,
    "c": 0.1309,
    "h": 101
  },
  "luminance": 0.59228
}

Semantic roles & 50–950 ramp

primary
#DCCC5F
secondary
#3E4AA2
accent
#30CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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