#DCC758#DCC758

#DCC758 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.133 H 98.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DCC758
RGBrgb(220, 199, 88)
HSLhsl(50, 65%, 60%)
HSVhsv(50, 60%, 86%)
CMYKcmyk(0%, 9.5%, 60%, 13.7%)
CIE-LABlab(80.05, -5.85, 56.94)
CIE-LCHlch(80.05, 57.24, 95.87°)
OKLaboklab(82.6% -0.02 0.1311)
OKLCHoklch(82.6% 0.133 98.7)
XYZxyz(51.7021, 56.7693, 17.4648)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC758 #586DDC
analogous
#DC8558 #DCC758 #AFDC58
triadic
#DCC758 #58DCC7 #C758DC
tetradic
#DCC758 #58DC85 #586DDC #DC58AF
square
#DCC758 #58DC85 #586DDC #DC58AF
split-complementary
#DCC758 #58AFDC #8558DC
monochromatic
#998620 #CCB22B #DCC758 #E7D88B #F1E9BD

Accessibility & contrast

On white

1.70
#DCC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#DCC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC758
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC758#FFFFFF#000000##000000
##DCC7581.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc758;
/* rgb */ color: rgb(220, 199, 88);
/* oklch */ color: oklch(82.6% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#ead78b',
    500: '#dcc758',
    950: '#000000',
  },
}
SCSS
$custom: #dcc758;
$custom-light: #ead78b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc758",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 50.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82603,
    "c": 0.13259,
    "h": 98.7
  },
  "luminance": 0.56767
}

Semantic roles & 50–950 ramp

primary
#DCC758
secondary
#3B4A9E
accent
#35CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC758

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

Preview Lab → · Contrast checker → · Palette generator →

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