#DCD55B#DCD55B

#DCD55B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.143 H 106.0°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DCD55B
RGBrgb(220, 213, 91)
HSLhsl(57, 65%, 61%)
HSVhsv(57, 59%, 86%)
CMYKcmyk(0%, 3.2%, 58.6%, 13.7%)
CIE-LABlab(83.74, -12.74, 59.70)
CIE-LCHlch(83.74, 61.04, 102.05°)
OKLaboklab(85.54% -0.0393 0.1374)
OKLCHoklch(85.54% 0.143 106)
XYZxyz(55.1996, 63.5612, 19.2563)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD55B #5B62DC
analogous
#DC945B #DCD55B #A2DC5B
triadic
#DCD55B #5BDCD5 #D55BDC
tetradic
#DCD55B #5BDC94 #5B62DC #DC5BA2
square
#DCD55B #5BDC94 #5B62DC #DC5BA2
split-complementary
#DCD55B #5BA2DC #945BDC
monochromatic
#9B9521 #CEC52C #DCD55B #E7E28D #F2EFC0

Accessibility & contrast

On white

1.53
#DCD55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DCD55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD55B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD55B#FFFFFF#000000##000000
##DCD55B1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4E
Deuteranopia (green-blind)
#E9D362
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd55b;
/* rgb */ color: rgb(220, 213, 91);
/* oklch */ color: oklch(85.5% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#eae18e',
    500: '#dcd55b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd55b;
$custom-light: #eae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd55b",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 56.744,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8554,
    "c": 0.14288,
    "h": 106
  },
  "luminance": 0.63559
}

Semantic roles & 50–950 ramp

primary
#DCD55B
secondary
#3C419F
accent
#23CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD55B

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

Preview Lab → · Contrast checker → · Palette generator →

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