#DCCD5B#DCCD5B

#DCCD5B is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.135 H 101.9°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#DCCD5B
RGBrgb(220, 205, 91)
HSLhsl(53, 65%, 61%)
HSVhsv(53, 59%, 86%)
CMYKcmyk(0%, 6.8%, 58.6%, 13.7%)
CIE-LABlab(81.64, -8.71, 57.37)
CIE-LCHlch(81.64, 58.02, 98.63°)
OKLaboklab(83.87% -0.0278 0.1324)
OKLCHoklch(83.87% 0.135 101.9)
XYZxyz(53.2368, 59.6357, 18.6021)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD5B #5B6ADC
analogous
#DC8C5B #DCCD5B #AADC5B
triadic
#DCCD5B #5BDCCD #CD5BDC
tetradic
#DCCD5B #5BDC8C #5B6ADC #DC5BAA
square
#DCCD5B #5BDC8C #5B6ADC #DC5BAA
split-complementary
#DCCD5B #5BAADC #8C5BDC
monochromatic
#9B8D21 #CEBB2C #DCCD5B #E7DC8D #F2ECC0

Accessibility & contrast

On white

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

On black

12.93
#DCCD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD5B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD5B#FFFFFF#000000##000000
##DCCD5B1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#EBC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccd5b;
/* rgb */ color: rgb(220, 205, 91);
/* oklch */ color: oklch(83.9% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#eadc8d',
    500: '#dccd5b',
    950: '#000000',
  },
}
SCSS
$custom: #dccd5b;
$custom-light: #eadc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd5b",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 53.023,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.13528,
    "h": 101.9
  },
  "luminance": 0.59634
}

Semantic roles & 50–950 ramp

primary
#DCCD5B
secondary
#3C479F
accent
#2ECD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCCD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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