#DCC258#DCC258

#DCC258 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.129 H 95.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#DCC258
RGBrgb(220, 194, 88)
HSLhsl(48, 65%, 60%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 11.8%, 60%, 13.7%)
CIE-LABlab(78.76, -3.27, 55.49)
CIE-LCHlch(78.76, 55.59, 93.38°)
OKLaboklab(81.58% -0.0126 0.128)
OKLCHoklch(81.58% 0.129 95.6)
XYZxyz(50.5706, 54.5062, 17.0876)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC258 #5872DC
analogous
#DC8058 #DCC258 #B4DC58
triadic
#DCC258 #58DCC2 #C258DC
tetradic
#DCC258 #58DC80 #5872DC #DC58B4
square
#DCC258 #58DC80 #5872DC #DC58B4
split-complementary
#DCC258 #58B4DC #8058DC
monochromatic
#998220 #CCAC2B #DCC258 #E7D48B #F1E7BD

Accessibility & contrast

On white

1.76
#DCC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#DCC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC258
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC258#FFFFFF#000000##000000
##DCC2581.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#DBC65D
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc258;
/* rgb */ color: rgb(220, 194, 88);
/* oklch */ color: oklch(81.6% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#ead48b',
    500: '#dcc258',
    950: '#000000',
  },
}
SCSS
$custom: #dcc258;
$custom-light: #ead48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc258",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 48.182,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81579,
    "c": 0.12862,
    "h": 95.6
  },
  "luminance": 0.54504
}

Semantic roles & 50–950 ramp

primary
#DCC258
secondary
#3B4E9E
accent
#3CCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC258

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

Preview Lab → · Contrast checker → · Palette generator →

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