#DCD058#DCD058

#DCD058 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.5% C 0.141 H 103.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#DCD058
RGBrgb(220, 208, 88)
HSLhsl(55, 65%, 60%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 5.5%, 60%, 13.7%)
CIE-LABlab(82.40, -10.43, 59.53)
CIE-LCHlch(82.40, 60.44, 99.94°)
OKLaboklab(84.47% -0.0331 0.1366)
OKLCHoklch(84.47% 0.141 103.6)
XYZxyz(53.8344, 61.0339, 18.1756)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD058 #5864DC
analogous
#DC8E58 #DCD058 #A6DC58
triadic
#DCD058 #58DCD0 #D058DC
tetradic
#DCD058 #58DC8E #5864DC #DC58A6
square
#DCD058 #58DC8E #5864DC #DC58A6
split-complementary
#DCD058 #58A6DC #8E58DC
monochromatic
#998E20 #CCBD2B #DCD058 #E7DE8B #F1ECBD

Accessibility & contrast

On white

1.59
#DCD058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#DCD058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD058
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD058#FFFFFF#000000##000000
##DCD0581.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4B
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#EBC3B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd058;
/* rgb */ color: rgb(220, 208, 88);
/* oklch */ color: oklch(84.5% 0.141 103.6);
Tailwind
colors: {
  custom: {
    50: '#eade8c',
    500: '#dcd058',
    950: '#000000',
  },
}
SCSS
$custom: #dcd058;
$custom-light: #eade8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd058",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 54.545,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84466,
    "c": 0.14056,
    "h": 103.6
  },
  "luminance": 0.61032
}

Semantic roles & 50–950 ramp

primary
#DCD058
secondary
#3B449E
accent
#29CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD058

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

Preview Lab → · Contrast checker → · Palette generator →

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