#CCB041#CCB041

#CCB041 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.131 H 94.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CCB041
RGBrgb(204, 176, 65)
HSLhsl(48, 58%, 53%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 13.7%, 68.1%, 20%)
CIE-LABlab(72.41, -2.11, 58.26)
CIE-LCHlch(72.41, 58.30, 92.08°)
OKLaboklab(76.15% -0.011 0.1309)
OKLCHoklch(76.15% 0.131 94.8)
XYZxyz(41.3833, 44.2719, 11.3656)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB041 #415DCC
analogous
#CC6B41 #CCB041 #A2CC41
triadic
#CCB041 #41CCB0 #B041CC
tetradic
#CCB041 #41CC6B #415DCC #CC41A2
square
#CCB041 #41CC6B #415DCC #CC41A2
split-complementary
#CCB041 #41A2CC #6B41CC
monochromatic
#74631F #A48C2C #CCB041 #D9C471 #E6D8A1

Accessibility & contrast

On white

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

On black

9.85
#CCB041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB041
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB041#FFFFFF#000000##000000
##CCB0411.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb041;
/* rgb */ color: rgb(204, 176, 65);
/* oklch */ color: oklch(76.1% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#dfc77b',
    500: '#ccb041',
    950: '#000000',
  },
}
SCSS
$custom: #ccb041;
$custom-light: #dfc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb041",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 47.914,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76149,
    "c": 0.13139,
    "h": 94.8
  },
  "luminance": 0.4427
}

Semantic roles & 50–950 ramp

primary
#CCB041
secondary
#96A2D3
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB041

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

Preview Lab → · Contrast checker → · Palette generator →

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