#CCB33B#CCB33B

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

Color values

HEX#CCB33B
RGBrgb(204, 179, 59)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 12.3%, 71.1%, 20%)
CIE-LABlab(73.15, -4.00, 61.43)
CIE-LCHlch(73.15, 61.56, 93.73°)
OKLaboklab(76.72% -0.017 0.1366)
OKLCHoklch(76.72% 0.138 97.1)
XYZxyz(41.8134, 45.3955, 10.6966)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB33B #3B54CC
analogous
#CC6B3B #CCB33B #9DCC3B
triadic
#CCB33B #3BCCB3 #B33BCC
tetradic
#CCB33B #3BCC6B #3B54CC #CC3B9D
square
#CCB33B #3BCC6B #3B54CC #CC3B9D
split-complementary
#CCB33B #3B9DCC #6B3BCC
monochromatic
#70611D #A08C2A #CCB33B #D9C66C #E5D99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB33B#FFFFFF#000000##000000
##CCB33B1.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)
#C5AF29
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb33b;
/* rgb */ color: rgb(204, 179, 59);
/* oklch */ color: oklch(76.7% 0.138 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfc978',
    500: '#ccb33b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb33b;
$custom-light: #dfc978;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb33b",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 49.655,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.13763,
    "h": 97.1
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#CCB33B
secondary
#929DD1
accent
#61E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB33B

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

Preview Lab → · Contrast checker → · Palette generator →

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