#DCC04B#DCC04B

#DCC04B is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.137 H 95.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DCC04B
RGBrgb(220, 192, 75)
HSLhsl(48, 67%, 58%)
HSVhsv(48, 66%, 86%)
CMYKcmyk(0%, 12.7%, 65.9%, 13.7%)
CIE-LABlab(78.13, -3.06, 60.50)
CIE-LCHlch(78.13, 60.58, 92.90°)
OKLaboklab(81.04% -0.0135 0.1368)
OKLCHoklch(81.04% 0.137 95.6)
XYZxyz(49.6372, 53.4254, 14.3529)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC04B #4B67DC
analogous
#DC784B #DCC04B #AFDC4B
triadic
#DCC04B #4BDCC0 #C04BDC
tetradic
#DCC04B #4BDC78 #4B67DC #DC4BAF
square
#DCC04B #4BDC78 #4B67DC #DC4BAF
split-complementary
#DCC04B #4BAFDC #784BDC
monochromatic
#917A1C #C4A526 #DCC04B #E6D27E #F0E4B1

Accessibility & contrast

On white

1.80
#DCC04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#DCC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC04B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC04B#FFFFFF#000000##000000
##DCC04B1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3C
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc04b;
/* rgb */ color: rgb(220, 192, 75);
/* oklch */ color: oklch(81.0% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#ead283',
    500: '#dcc04b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc04b;
$custom-light: #ead283;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc04b",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 48.414,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81043,
    "c": 0.13745,
    "h": 95.6
  },
  "luminance": 0.53423
}

Semantic roles & 50–950 ramp

primary
#DCC04B
secondary
#364896
accent
#5FEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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