#DCC23C#DCC23C

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

Color values

HEX#DCC23C
RGBrgb(220, 194, 60)
HSLhsl(50, 70%, 55%)
HSVhsv(50, 73%, 86%)
CMYKcmyk(0%, 11.8%, 72.7%, 13.7%)
CIE-LABlab(78.54, -4.87, 66.82)
CIE-LCHlch(78.54, 66.99, 94.17°)
OKLaboklab(81.34% -0.0203 0.1476)
OKLCHoklch(81.34% 0.149 97.8)
XYZxyz(49.6251, 54.1280, 12.1079)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC23C #3C56DC
analogous
#DC723C #DCC23C #A6DC3C
triadic
#DCC23C #3CDCC2 #C23CDC
tetradic
#DCC23C #3CDC72 #3C56DC #DC3CA6
square
#DCC23C #3CDC72 #3C56DC #DC3CA6
split-complementary
#DCC23C #3CA6DC #723CDC
monochromatic
#867418 #BAA121 #DCC23C #E5D270 #EFE2A4

Accessibility & contrast

On white

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

On black

11.83
#DCC23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC23C
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC23C#FFFFFF#000000##000000
##DCC23C1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc23c;
/* rgb */ color: rgb(220, 194, 60);
/* oklch */ color: oklch(81.3% 0.149 97.8);
Tailwind
colors: {
  custom: {
    50: '#ebd47b',
    500: '#dcc23c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc23c;
$custom-light: #ebd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc23c",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 50.25,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81335,
    "c": 0.14896,
    "h": 97.8
  },
  "luminance": 0.54125
}

Semantic roles & 50–950 ramp

primary
#DCC23C
secondary
#303F8C
accent
#58EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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