#CCB541#CCB541

#CCB541 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.135 H 97.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CCB541
RGBrgb(204, 181, 65)
HSLhsl(50, 58%, 53%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 11.3%, 68.1%, 20%)
CIE-LABlab(73.72, -4.73, 59.61)
CIE-LCHlch(73.72, 59.80, 94.54°)
OKLaboklab(77.19% -0.0185 0.1338)
OKLCHoklch(77.19% 0.135 97.9)
XYZxyz(42.3818, 46.2688, 11.6984)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB541 #4158CC
analogous
#CC6F41 #CCB541 #9DCC41
triadic
#CCB541 #41CCB5 #B541CC
tetradic
#CCB541 #41CC6F #4158CC #CC419D
square
#CCB541 #41CC6F #4158CC #CC419D
split-complementary
#CCB541 #419DCC #6F41CC
monochromatic
#74661F #A4902C #CCB541 #D9C871 #E6DBA1

Accessibility & contrast

On white

2.05
#CCB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CCB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB541
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB541#FFFFFF#000000##000000
##CCB5411.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B131
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#DCA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb541;
/* rgb */ color: rgb(204, 181, 65);
/* oklch */ color: oklch(77.2% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#dfca7c',
    500: '#ccb541',
    950: '#000000',
  },
}
SCSS
$custom: #ccb541;
$custom-light: #dfca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb541",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 50.072,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77186,
    "c": 0.13505,
    "h": 97.9
  },
  "luminance": 0.46267
}

Semantic roles & 50–950 ramp

primary
#CCB541
secondary
#96A0D3
accent
#60E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB541

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

Preview Lab → · Contrast checker → · Palette generator →

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