#CCBB5B#CCBB5B

#CCBB5B is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.119 H 99.4°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CCBB5B
RGBrgb(204, 187, 91)
HSLhsl(51, 53%, 58%)
HSVhsv(51, 55%, 80%)
CMYKcmyk(0%, 8.3%, 55.4%, 20%)
CIE-LABlab(75.54, -6.12, 50.06)
CIE-LCHlch(75.54, 50.43, 96.97°)
OKLaboklab(78.7% -0.0194 0.117)
OKLCHoklch(78.7% 0.119 99.4)
XYZxyz(44.5621, 49.1351, 17.0322)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB5B #5B6CCC
analogous
#CC825B #CCBB5B #A5CC5B
triadic
#CCBB5B #5BCCBB #BB5BCC
tetradic
#CCBB5B #5BCC82 #5B6CCC #CC5BA5
square
#CCBB5B #5BCC82 #5B6CCC #CC5BA5
split-complementary
#CCBB5B #5BA5CC #825BCC
monochromatic
#847629 #B2A037 #CCBB5B #DBCE8A #E9E2B8

Accessibility & contrast

On white

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

On black

10.83
#CCBB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB5B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB5B#FFFFFF#000000##000000
##CCBB5B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#DAAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb5b;
/* rgb */ color: rgb(204, 187, 91);
/* oklch */ color: oklch(78.7% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#decf8c',
    500: '#ccbb5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb5b;
$custom-light: #decf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb5b",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 50.973,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78701,
    "c": 0.11862,
    "h": 99.4
  },
  "luminance": 0.49133
}

Semantic roles & 50–950 ramp

primary
#CCBB5B
secondary
#ABB2D8
accent
#62DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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