#DCC23A#DCC23A

#DCC23A is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.150 H 97.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DCC23A
RGBrgb(220, 194, 58)
HSLhsl(50, 70%, 55%)
HSVhsv(50, 74%, 86%)
CMYKcmyk(0%, 11.8%, 73.6%, 13.7%)
CIE-LABlab(78.52, -4.96, 67.53)
CIE-LCHlch(78.52, 67.71, 94.20°)
OKLaboklab(81.32% -0.0207 0.1487)
OKLCHoklch(81.32% 0.15 97.9)
XYZxyz(49.5732, 54.1072, 11.8347)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC23A #3A54DC
analogous
#DC713A #DCC23A #A5DC3A
triadic
#DCC23A #3ADCC2 #C23ADC
tetradic
#DCC23A #3ADC71 #3A54DC #DC3AA5
square
#DCC23A #3ADC71 #3A54DC #DC3AA5
split-complementary
#DCC23A #3AA5DC #713ADC
monochromatic
#847317 #B8A021 #DCC23A #E5D26E #EEE2A2

Accessibility & contrast

On white

1.78
#DCC23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DCC23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC23A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC23A#FFFFFF#000000##000000
##DCC23A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#DCC643
Tritanopia (blue-blind)
#EDB3A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc23a;
/* rgb */ color: rgb(220, 194, 58);
/* oklch */ color: oklch(81.3% 0.150 97.9);
Tailwind
colors: {
  custom: {
    50: '#ebd47a',
    500: '#dcc23a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc23a;
$custom-light: #ebd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc23a",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 50.37,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81321,
    "c": 0.15014,
    "h": 97.9
  },
  "luminance": 0.54105
}

Semantic roles & 50–950 ramp

primary
#DCC23A
secondary
#303E8B
accent
#58ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCC23A

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

Preview Lab → · Contrast checker → · Palette generator →

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