#CCB33F#CCB33F

#CCB33F is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.135 H 96.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CCB33F
RGBrgb(204, 179, 63)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 69%, 80%)
CMYKcmyk(0%, 12.3%, 69.1%, 20%)
CIE-LABlab(73.18, -3.80, 59.87)
CIE-LCHlch(73.18, 59.99, 93.63°)
OKLaboklab(76.75% -0.016 0.134)
OKLCHoklch(76.75% 0.135 96.8)
XYZxyz(41.9212, 45.4386, 11.2641)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB33F #3F58CC
analogous
#CC6D3F #CCB33F #9ECC3F
triadic
#CCB33F #3FCCB3 #B33FCC
tetradic
#CCB33F #3FCC6D #3F58CC #CC3F9E
square
#CCB33F #3FCC6D #3F58CC #CC3F9E
split-complementary
#CCB33F #3F9ECC #6D3FCC
monochromatic
#72631E #A38D2B #CCB33F #D9C66F #E6D9A0

Accessibility & contrast

On white

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

On black

10.09
#CCB33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB33F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB33F#FFFFFF#000000##000000
##CCB33F1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#DCA69B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb33f;
/* rgb */ color: rgb(204, 179, 63);
/* oklch */ color: oklch(76.8% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#dfc97b',
    500: '#ccb33f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb33f;
$custom-light: #dfc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb33f",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 49.362,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76754,
    "c": 0.13494,
    "h": 96.8
  },
  "luminance": 0.45436
}

Semantic roles & 50–950 ramp

primary
#CCB33F
secondary
#95A0D2
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB33F

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

Preview Lab → · Contrast checker → · Palette generator →

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