#CCBB5A#CCBB5A

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

Color values

HEX#CCBB5A
RGBrgb(204, 187, 90)
HSLhsl(51, 53%, 58%)
HSVhsv(51, 56%, 80%)
CMYKcmyk(0%, 8.3%, 55.9%, 20%)
CIE-LABlab(75.52, -6.20, 50.52)
CIE-LCHlch(75.52, 50.90, 96.99°)
OKLaboklab(78.69% -0.0198 0.1179)
OKLCHoklch(78.69% 0.12 99.5)
XYZxyz(44.5192, 49.1180, 16.8066)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB5A #5A6BCC
analogous
#CC825A #CCBB5A #A4CC5A
triadic
#CCBB5A #5ACCBB #BB5ACC
tetradic
#CCBB5A #5ACC82 #5A6BCC #CC5AA4
square
#CCBB5A #5ACC82 #5A6BCC #CC5AA4
split-complementary
#CCBB5A #5AA4CC #825ACC
monochromatic
#837629 #B2A037 #CCBB5A #DACE89 #E9E2B7

Accessibility & contrast

On white

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

On black

10.82
#CCBB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB5A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB5A#FFFFFF#000000##000000
##CCBB5A1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbb5a;
/* rgb */ color: rgb(204, 187, 90);
/* oklch */ color: oklch(78.7% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#decf8c',
    500: '#ccbb5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb5a;
$custom-light: #decf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb5a",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 90
  },
  "hsl": {
    "h": 51.053,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78689,
    "c": 0.11955,
    "h": 99.5
  },
  "luminance": 0.49116
}

Semantic roles & 50–950 ramp

primary
#CCBB5A
secondary
#AAB1D8
accent
#61DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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