#CCBB5F#CCBB5F

#CCBB5F is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.115 H 99.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CCBB5F
RGBrgb(204, 187, 95)
HSLhsl(51, 52%, 59%)
HSVhsv(51, 53%, 80%)
CMYKcmyk(0%, 8.3%, 53.4%, 20%)
CIE-LABlab(75.58, -5.79, 48.20)
CIE-LCHlch(75.58, 48.55, 96.86°)
OKLaboklab(78.75% -0.018 0.1134)
OKLCHoklch(78.75% 0.115 99)
XYZxyz(44.7392, 49.2060, 17.9653)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB5F #5F70CC
analogous
#CC845F #CCBB5F #A6CC5F
triadic
#CCBB5F #5FCCBB #BB5FCC
tetradic
#CCBB5F #5FCC84 #5F70CC #CC5FA6
square
#CCBB5F #5FCC84 #5F70CC #CC5FA6
split-complementary
#CCBB5F #5FA6CC #845FCC
monochromatic
#86782B #B4A139 #CCBB5F #DBCF8D #EAE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB5F#FFFFFF#000000##000000
##CCBB5F1.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)
#CAB756
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb5f;
/* rgb */ color: rgb(204, 187, 95);
/* oklch */ color: oklch(78.8% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#decf8f',
    500: '#ccbb5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb5f;
$custom-light: #decf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb5f",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 50.642,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.7875,
    "c": 0.11483,
    "h": 99
  },
  "luminance": 0.49204
}

Semantic roles & 50–950 ramp

primary
#CCBB5F
secondary
#AEB5D9
accent
#63DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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