#DCCD5F#DCCD5F

#DCCD5F is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.132 H 101.6°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#DCCD5F
RGBrgb(220, 205, 95)
HSLhsl(53, 64%, 62%)
HSVhsv(53, 57%, 86%)
CMYKcmyk(0%, 6.8%, 56.8%, 13.7%)
CIE-LABlab(81.68, -8.42, 55.61)
CIE-LCHlch(81.68, 56.24, 98.61°)
OKLaboklab(83.92% -0.0265 0.1291)
OKLCHoklch(83.92% 0.132 101.6)
XYZxyz(53.4139, 59.7065, 19.5352)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD5F #5F6EDC
analogous
#DC8F5F #DCCD5F #ADDC5F
triadic
#DCCD5F #5FDCCD #CD5FDC
tetradic
#DCCD5F #5FDC8F #5F6EDC #DC5FAD
square
#DCCD5F #5FDC8F #5F6EDC #DC5FAD
split-complementary
#DCCD5F #5FADDC #8F5FDC
monochromatic
#9E8F23 #D0BD2E #DCCD5F #E7DD91 #F2ECC3

Accessibility & contrast

On white

1.62
#DCCD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#DCCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD5F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD5F#FFFFFF#000000##000000
##DCCD5F1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC754
Deuteranopia (green-blind)
#E2CE64
Tritanopia (blue-blind)
#EBC0B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccd5f;
/* rgb */ color: rgb(220, 205, 95);
/* oklch */ color: oklch(83.9% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#e9dc90',
    500: '#dccd5f',
    950: '#000000',
  },
}
SCSS
$custom: #dccd5f;
$custom-light: #e9dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd5f",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 52.8,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83916,
    "c": 0.1318,
    "h": 101.6
  },
  "luminance": 0.59705
}

Semantic roles & 50–950 ramp

primary
#DCCD5F
secondary
#3E4AA2
accent
#2FCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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