#DCD158#DCD158

#DCD158 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.141 H 104.1°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#DCD158
RGBrgb(220, 209, 88)
HSLhsl(55, 65%, 60%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 5%, 60%, 13.7%)
CIE-LABlab(82.66, -10.94, 59.82)
CIE-LCHlch(82.66, 60.81, 100.36°)
OKLaboklab(84.67% -0.0345 0.1372)
OKLCHoklch(84.67% 0.142 104.1)
XYZxyz(54.0790, 61.5231, 18.2571)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD158 #5863DC
analogous
#DC8F58 #DCD158 #A5DC58
triadic
#DCD158 #58DCD1 #D158DC
tetradic
#DCD158 #58DC8F #5863DC #DC58A5
square
#DCD158 #58DC8F #5863DC #DC58A5
split-complementary
#DCD158 #58A5DC #8F58DC
monochromatic
#998F20 #CCBF2B #DCD158 #E7DF8B #F1EDBD

Accessibility & contrast

On white

1.58
#DCD158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#DCD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD158
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD158#FFFFFF#000000##000000
##DCD1581.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#E6D05F
Tritanopia (blue-blind)
#EBC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd158;
/* rgb */ color: rgb(220, 209, 88);
/* oklch */ color: oklch(84.7% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#eade8c',
    500: '#dcd158',
    950: '#000000',
  },
}
SCSS
$custom: #dcd158;
$custom-light: #eade8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd158",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 55,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84674,
    "c": 0.1415,
    "h": 104.1
  },
  "luminance": 0.61521
}

Semantic roles & 50–950 ramp

primary
#DCD158
secondary
#3B439E
accent
#27CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD158

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

Preview Lab → · Contrast checker → · Palette generator →

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