#CCBC5A#CCBC5A

#CCBC5A is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.120 H 100.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCBC5A
RGBrgb(204, 188, 90)
HSLhsl(52, 53%, 58%)
HSVhsv(52, 56%, 80%)
CMYKcmyk(0%, 7.8%, 55.9%, 20%)
CIE-LABlab(75.79, -6.72, 50.82)
CIE-LCHlch(75.79, 51.26, 97.53°)
OKLaboklab(78.9% -0.0213 0.1186)
OKLCHoklch(78.9% 0.12 100.2)
XYZxyz(44.7321, 49.5437, 16.8775)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC5A #5A6ACC
analogous
#CC835A #CCBC5A #A3CC5A
triadic
#CCBC5A #5ACCBC #BC5ACC
tetradic
#CCBC5A #5ACC83 #5A6ACC #CC5AA3
square
#CCBC5A #5ACC83 #5A6ACC #CC5AA3
split-complementary
#CCBC5A #5AA3CC #835ACC
monochromatic
#837629 #B2A137 #CCBC5A #DACF89 #E9E2B7

Accessibility & contrast

On white

1.93
#CCBC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CCBC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC5A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC5A#FFFFFF#000000##000000
##CCBC5A1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB750
Deuteranopia (green-blind)
#D0BE5F
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc5a;
/* rgb */ color: rgb(204, 188, 90);
/* oklch */ color: oklch(78.9% 0.120 100.2);
Tailwind
colors: {
  custom: {
    50: '#decf8c',
    500: '#ccbc5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc5a;
$custom-light: #decf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc5a",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 51.579,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78898,
    "c": 0.12045,
    "h": 100.2
  },
  "luminance": 0.49542
}

Semantic roles & 50–950 ramp

primary
#CCBC5A
secondary
#AAB0D8
accent
#60DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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