#CCB33E#CCB33E

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

Color values

HEX#CCB33E
RGBrgb(204, 179, 62)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 12.3%, 69.6%, 20%)
CIE-LABlab(73.17, -3.85, 60.27)
CIE-LCHlch(73.17, 60.39, 93.65°)
OKLaboklab(76.75% -0.0163 0.1347)
OKLCHoklch(76.75% 0.136 96.9)
XYZxyz(41.8935, 45.4275, 11.1182)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB33E #3E57CC
analogous
#CC6C3E #CCB33E #9ECC3E
triadic
#CCB33E #3ECCB3 #B33ECC
tetradic
#CCB33E #3ECC6C #3E57CC #CC3E9E
square
#CCB33E #3ECC6C #3E57CC #CC3E9E
split-complementary
#CCB33E #3E9ECC #6C3ECC
monochromatic
#72631E #A28D2B #CCB33E #D9C66E #E6D99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB33E#FFFFFF#000000##000000
##CCB33E1.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)
#C5AF2D
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#DCA69B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb33e;
/* rgb */ color: rgb(204, 179, 62);
/* oklch */ color: oklch(76.7% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfc97a',
    500: '#ccb33e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb33e;
$custom-light: #dfc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb33e",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 49.437,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76746,
    "c": 0.13563,
    "h": 96.9
  },
  "luminance": 0.45425
}

Semantic roles & 50–950 ramp

primary
#CCB33E
secondary
#949FD2
accent
#62E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB33E

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

Preview Lab → · Contrast checker → · Palette generator →

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