#DCD758#DCD758

#DCD758 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.147 H 107.0°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DCD758
RGBrgb(220, 215, 88)
HSLhsl(58, 65%, 60%)
HSVhsv(58, 60%, 86%)
CMYKcmyk(0%, 2.3%, 60%, 13.7%)
CIE-LABlab(84.24, -13.94, 61.54)
CIE-LCHlch(84.24, 63.10, 102.77°)
OKLaboklab(85.93% -0.0431 0.1409)
OKLCHoklch(85.93% 0.147 107)
XYZxyz(55.5789, 64.5228, 18.7571)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD758 #585DDC
analogous
#DC9558 #DCD758 #9FDC58
triadic
#DCD758 #58DCD7 #D758DC
tetradic
#DCD758 #58DC95 #585DDC #DC589F
square
#DCD758 #58DC95 #585DDC #DC589F
split-complementary
#DCD758 #589FDC #9558DC
monochromatic
#999520 #CCC62B #DCD758 #E7E38B #F1EFBD

Accessibility & contrast

On white

1.51
#DCD758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#DCD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD758
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD758#FFFFFF#000000##000000
##DCD7581.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF49
Deuteranopia (green-blind)
#EAD55F
Tritanopia (blue-blind)
#EBCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd758;
/* rgb */ color: rgb(220, 215, 88);
/* oklch */ color: oklch(85.9% 0.147 107.0);
Tailwind
colors: {
  custom: {
    50: '#eae38c',
    500: '#dcd758',
    950: '#000000',
  },
}
SCSS
$custom: #dcd758;
$custom-light: #eae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd758",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 57.727,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8593,
    "c": 0.14732,
    "h": 107
  },
  "luminance": 0.64521
}

Semantic roles & 50–950 ramp

primary
#DCD758
secondary
#3B3E9E
accent
#1FCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD758

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

Preview Lab → · Contrast checker → · Palette generator →

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