#DCC958#DCC958

#DCC958 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.134 H 99.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DCC958
RGBrgb(220, 201, 88)
HSLhsl(51, 65%, 60%)
HSVhsv(51, 60%, 86%)
CMYKcmyk(0%, 8.6%, 60%, 13.7%)
CIE-LABlab(80.57, -6.88, 57.51)
CIE-LCHlch(80.57, 57.92, 96.82°)
OKLaboklab(83.02% -0.0229 0.1323)
OKLCHoklch(83.02% 0.134 99.8)
XYZxyz(52.1653, 57.6957, 17.6192)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC958 #586BDC
analogous
#DC8758 #DCC958 #ADDC58
triadic
#DCC958 #58DCC9 #C958DC
tetradic
#DCC958 #58DC87 #586BDC #DC58AD
square
#DCC958 #58DC87 #586BDC #DC58AD
split-complementary
#DCC958 #58ADDC #8758DC
monochromatic
#998820 #CCB52B #DCC958 #E7D98B #F1EABD

Accessibility & contrast

On white

1.67
#DCC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DCC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC958
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC958#FFFFFF#000000##000000
##DCC9581.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44C
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc958;
/* rgb */ color: rgb(220, 201, 88);
/* oklch */ color: oklch(83.0% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#ead98b',
    500: '#dcc958',
    950: '#000000',
  },
}
SCSS
$custom: #dcc958;
$custom-light: #ead98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc958",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 51.364,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83015,
    "c": 0.13428,
    "h": 99.8
  },
  "luminance": 0.57694
}

Semantic roles & 50–950 ramp

primary
#DCC958
secondary
#3B499E
accent
#32CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC958

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

Preview Lab → · Contrast checker → · Palette generator →

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