#CCBB4F#CCBB4F

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

Color values

HEX#CCBB4F
RGBrgb(204, 187, 79)
HSLhsl(52, 55%, 55%)
HSVhsv(52, 61%, 80%)
CMYKcmyk(0%, 8.3%, 61.3%, 20%)
CIE-LABlab(75.42, -7.00, 55.43)
CIE-LCHlch(75.42, 55.87, 97.20°)
OKLaboklab(78.57% -0.0233 0.1271)
OKLCHoklch(78.57% 0.129 100.4)
XYZxyz(44.0852, 48.9444, 14.5207)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB4F #4F60CC
analogous
#CC7C4F #CCBB4F #9ECC4F
triadic
#CCBB4F #4FCCBB #BB4FCC
tetradic
#CCBB4F #4FCC7C #4F60CC #CC4F9E
square
#CCBB4F #4FCC7C #4F60CC #CC4F9E
split-complementary
#CCBB4F #4F9ECC #7C4FCC
monochromatic
#7D7024 #AC9B32 #CCBB4F #DACD7E #E7E0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB4F#FFFFFF#000000##000000
##CCBB4F1.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)
#CBB643
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb4f;
/* rgb */ color: rgb(204, 187, 79);
/* oklch */ color: oklch(78.6% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#decf85',
    500: '#ccbb4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb4f;
$custom-light: #decf85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb4f",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 51.84,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78569,
    "c": 0.12919,
    "h": 100.4
  },
  "luminance": 0.48943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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