#CCBB5D#CCBB5D

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

Color values

HEX#CCBB5D
RGBrgb(204, 187, 93)
HSLhsl(51, 52%, 58%)
HSVhsv(51, 54%, 80%)
CMYKcmyk(0%, 8.3%, 54.4%, 20%)
CIE-LABlab(75.56, -5.96, 49.13)
CIE-LCHlch(75.56, 49.49, 96.92°)
OKLaboklab(78.72% -0.0187 0.1152)
OKLCHoklch(78.72% 0.117 99.2)
XYZxyz(44.6495, 49.1701, 17.4927)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB5D #5D6ECC
analogous
#CC835D #CCBB5D #A5CC5D
triadic
#CCBB5D #5DCCBB #BB5DCC
tetradic
#CCBB5D #5DCC83 #5D6ECC #CC5DA5
square
#CCBB5D #5DCC83 #5D6ECC #CC5DA5
split-complementary
#CCBB5D #5DA5CC #835DCC
monochromatic
#85772A #B3A138 #CCBB5D #DBCF8C #E9E2BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB5D#FFFFFF#000000##000000
##CCBB5D1.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)
#CAB754
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#DAAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb5d;
/* rgb */ color: rgb(204, 187, 93);
/* oklch */ color: oklch(78.7% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#decf8d',
    500: '#ccbb5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb5d;
$custom-light: #decf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb5d",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 93
  },
  "hsl": {
    "h": 50.811,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78725,
    "c": 0.11674,
    "h": 99.2
  },
  "luminance": 0.49168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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