#CCB04A#CCB04A

#CCB04A is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.125 H 93.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CCB04A
RGBrgb(204, 176, 74)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 13.7%, 63.7%, 20%)
CIE-LABlab(72.48, -1.58, 54.46)
CIE-LCHlch(72.48, 54.48, 91.66°)
OKLaboklab(76.23% -0.0084 0.1243)
OKLCHoklch(76.23% 0.125 93.8)
XYZxyz(41.6651, 44.3846, 12.8497)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB04A #4A66CC
analogous
#CC6F4A #CCB04A #A7CC4A
triadic
#CCB04A #4ACCB0 #B04ACC
tetradic
#CCB04A #4ACC6F #4A66CC #CC4AA7
square
#CCB04A #4ACC6F #4A66CC #CC4AA7
split-complementary
#CCB04A #4AA7CC #6F4ACC
monochromatic
#796722 #A98F30 #CCB04A #D9C57A #E7DAA9

Accessibility & contrast

On white

2.13
#CCB04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CCB04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB04A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB04A#FFFFFF#000000##000000
##CCB04A1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb04a;
/* rgb */ color: rgb(204, 176, 74);
/* oklch */ color: oklch(76.2% 0.125 93.8);
Tailwind
colors: {
  custom: {
    50: '#dfc781',
    500: '#ccb04a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb04a;
$custom-light: #dfc781;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb04a",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 47.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76233,
    "c": 0.12457,
    "h": 93.8
  },
  "luminance": 0.44382
}

Semantic roles & 50–950 ramp

primary
#CCB04A
secondary
#9DA9D4
accent
#69DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB04A

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

Preview Lab → · Contrast checker → · Palette generator →

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