#DCC458#DCC458

#DCC458 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.130 H 96.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#DCC458
RGBrgb(220, 196, 88)
HSLhsl(49, 65%, 60%)
HSVhsv(49, 60%, 86%)
CMYKcmyk(0%, 10.9%, 60%, 13.7%)
CIE-LABlab(79.27, -4.31, 56.07)
CIE-LCHlch(79.27, 56.24, 94.39°)
OKLaboklab(81.99% -0.0155 0.1292)
OKLCHoklch(81.99% 0.13 96.9)
XYZxyz(51.0187, 55.4024, 17.2370)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC458 #5870DC
analogous
#DC8258 #DCC458 #B2DC58
triadic
#DCC458 #58DCC4 #C458DC
tetradic
#DCC458 #58DC82 #5870DC #DC58B2
square
#DCC458 #58DC82 #5870DC #DC58B2
split-complementary
#DCC458 #58B2DC #8258DC
monochromatic
#998320 #CCAF2B #DCC458 #E7D68B #F1E8BD

Accessibility & contrast

On white

1.74
#DCC458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#DCC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC458
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC458#FFFFFF#000000##000000
##DCC4581.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04D
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc458;
/* rgb */ color: rgb(220, 196, 88);
/* oklch */ color: oklch(82.0% 0.130 96.9);
Tailwind
colors: {
  custom: {
    50: '#ead58b',
    500: '#dcc458',
    950: '#000000',
  },
}
SCSS
$custom: #dcc458;
$custom-light: #ead58b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc458",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 49.091,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81988,
    "c": 0.13017,
    "h": 96.9
  },
  "luminance": 0.554
}

Semantic roles & 50–950 ramp

primary
#DCC458
secondary
#3B4D9E
accent
#39CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC458

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

Preview Lab → · Contrast checker → · Palette generator →

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