#DCD55A#DCD55A

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

Color values

HEX#DCD55A
RGBrgb(220, 213, 90)
HSLhsl(57, 65%, 61%)
HSVhsv(57, 59%, 86%)
CMYKcmyk(0%, 3.2%, 59.1%, 13.7%)
CIE-LABlab(83.73, -12.81, 60.12)
CIE-LCHlch(83.73, 61.47, 102.03°)
OKLaboklab(85.53% -0.0396 0.1381)
OKLCHoklch(85.53% 0.144 106)
XYZxyz(55.1567, 63.5441, 19.0307)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD55A #5A61DC
analogous
#DC945A #DCD55A #A2DC5A
triadic
#DCD55A #5ADCD5 #D55ADC
tetradic
#DCD55A #5ADC94 #5A61DC #DC5AA2
square
#DCD55A #5ADC94 #5A61DC #DC5AA2
split-complementary
#DCD55A #5AA2DC #945ADC
monochromatic
#9B9421 #CDC52C #DCD55A #E7E28C #F1EFBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD55A#FFFFFF#000000##000000
##DCD55A1.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)
#E6CE4C
Deuteranopia (green-blind)
#E9D361
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd55a;
/* rgb */ color: rgb(220, 213, 90);
/* oklch */ color: oklch(85.5% 0.144 106.0);
Tailwind
colors: {
  custom: {
    50: '#eae18d',
    500: '#dcd55a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd55a;
$custom-light: #eae18d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd55a",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 56.769,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8553,
    "c": 0.1437,
    "h": 106
  },
  "luminance": 0.63542
}

Semantic roles & 50–950 ramp

primary
#DCD55A
secondary
#3B419F
accent
#22CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD55A

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

Preview Lab → · Contrast checker → · Palette generator →

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