#CCBB4E#CCBB4E

#CCBB4E is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.130 H 100.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CCBB4E
RGBrgb(204, 187, 78)
HSLhsl(52, 55%, 55%)
HSVhsv(52, 62%, 80%)
CMYKcmyk(0%, 8.3%, 61.8%, 20%)
CIE-LABlab(75.41, -7.07, 55.87)
CIE-LCHlch(75.41, 56.31, 97.21°)
OKLaboklab(78.56% -0.0236 0.1279)
OKLCHoklch(78.56% 0.13 100.5)
XYZxyz(44.0491, 48.9299, 14.3304)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB4E #4E5FCC
analogous
#CC7C4E #CCBB4E #9ECC4E
triadic
#CCBB4E #4ECCBB #BB4ECC
tetradic
#CCBB4E #4ECC7C #4E5FCC #CC4E9E
square
#CCBB4E #4ECC7C #4E5FCC #CC4E9E
split-complementary
#CCBB4E #4E9ECC #7C4ECC
monochromatic
#7C7024 #AB9B31 #CCBB4E #DACD7E #E7E0AD

Accessibility & contrast

On white

1.95
#CCBB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CCBB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB4E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB4E#FFFFFF#000000##000000
##CCBB4E1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb4e;
/* rgb */ color: rgb(204, 187, 78);
/* oklch */ color: oklch(78.6% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#decf84',
    500: '#ccbb4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb4e;
$custom-light: #decf84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb4e",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 51.905,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78558,
    "c": 0.13003,
    "h": 100.5
  },
  "luminance": 0.48928
}

Semantic roles & 50–950 ramp

primary
#CCBB4E
secondary
#A1A8D5
accent
#5DDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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