#CCB33A#CCB33A

#CCB33A is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.138 H 97.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CCB33A
RGBrgb(204, 179, 58)
HSLhsl(50, 59%, 51%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 12.3%, 71.6%, 20%)
CIE-LABlab(73.14, -4.05, 61.80)
CIE-LCHlch(73.14, 61.94, 93.75°)
OKLaboklab(76.72% -0.0173 0.1372)
OKLCHoklch(76.72% 0.138 97.2)
XYZxyz(41.7877, 45.3852, 10.5613)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB33A #3A53CC
analogous
#CC6A3A #CCB33A #9CCC3A
triadic
#CCB33A #3ACCB3 #B33ACC
tetradic
#CCB33A #3ACC6A #3A53CC #CC3A9C
square
#CCB33A #3ACC6A #3A53CC #CC3A9C
split-complementary
#CCB33A #3A9CCC #6A3ACC
monochromatic
#6F611D #A08B29 #CCB33A #D9C66B #E5D99B

Accessibility & contrast

On white

2.08
#CCB33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CCB33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB33A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB33A#FFFFFF#000000##000000
##CCB33A1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb33a;
/* rgb */ color: rgb(204, 179, 58);
/* oklch */ color: oklch(76.7% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfc978',
    500: '#ccb33a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb33a;
$custom-light: #dfc978;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb33a",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 49.726,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76715,
    "c": 0.13828,
    "h": 97.2
  },
  "luminance": 0.45383
}

Semantic roles & 50–950 ramp

primary
#CCB33A
secondary
#919CD1
accent
#61E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB33A

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

Preview Lab → · Contrast checker → · Palette generator →

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