#DCC24B#DCC24B

#DCC24B is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.139 H 96.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#DCC24B
RGBrgb(220, 194, 75)
HSLhsl(49, 67%, 58%)
HSVhsv(49, 66%, 86%)
CMYKcmyk(0%, 11.8%, 65.9%, 13.7%)
CIE-LABlab(78.64, -4.10, 61.04)
CIE-LCHlch(78.64, 61.18, 93.84°)
OKLaboklab(81.45% -0.0165 0.1379)
OKLCHoklch(81.45% 0.139 96.8)
XYZxyz(50.0793, 54.3097, 14.5002)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC24B #4B65DC
analogous
#DC794B #DCC24B #AEDC4B
triadic
#DCC24B #4BDCC2 #C24BDC
tetradic
#DCC24B #4BDC79 #4B65DC #DC4BAE
square
#DCC24B #4BDC79 #4B65DC #DC4BAE
split-complementary
#DCC24B #4BAEDC #794BDC
monochromatic
#917C1C #C4A726 #DCC24B #E6D37E #F0E5B1

Accessibility & contrast

On white

1.77
#DCC24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#DCC24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC24B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC24B#FFFFFF#000000##000000
##DCC24B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3C
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#EDB4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc24b;
/* rgb */ color: rgb(220, 194, 75);
/* oklch */ color: oklch(81.5% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#ead483',
    500: '#dcc24b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc24b;
$custom-light: #ead483;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc24b",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 49.241,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.13892,
    "h": 96.8
  },
  "luminance": 0.54307
}

Semantic roles & 50–950 ramp

primary
#DCC24B
secondary
#364796
accent
#5CEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC24B

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

Preview Lab → · Contrast checker → · Palette generator →

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