#CCBC41#CCBC41

#CCBC41 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.141 H 101.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CCBC41
RGBrgb(204, 188, 65)
HSLhsl(53, 58%, 53%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 7.8%, 68.1%, 20%)
CIE-LABlab(75.57, -8.37, 61.50)
CIE-LCHlch(75.57, 62.06, 97.75°)
OKLaboklab(78.65% -0.0288 0.1378)
OKLCHoklch(78.65% 0.141 101.8)
XYZxyz(43.8411, 49.1873, 12.1848)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC41 #4151CC
analogous
#CC7741 #CCBC41 #96CC41
triadic
#CCBC41 #41CCBC #BC41CC
tetradic
#CCBC41 #41CC77 #4151CC #CC4196
square
#CCBC41 #41CC77 #4151CC #CC4196
split-complementary
#CCBC41 #4196CC #7741CC
monochromatic
#746A1F #A4962C #CCBC41 #D9CD71 #E6DEA1

Accessibility & contrast

On white

1.94
#CCBC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CCBC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC41
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC41#FFFFFF#000000##000000
##CCBC411.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#DBAFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc41;
/* rgb */ color: rgb(204, 188, 65);
/* oklch */ color: oklch(78.7% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#dfcf7c',
    500: '#ccbc41',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc41;
$custom-light: #dfcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc41",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 65
  },
  "hsl": {
    "h": 53.094,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78652,
    "c": 0.14075,
    "h": 101.8
  },
  "luminance": 0.49185
}

Semantic roles & 50–950 ramp

primary
#CCBC41
secondary
#969DD3
accent
#59E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBC41

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

Preview Lab → · Contrast checker → · Palette generator →

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