#CCBC5C#CCBC5C

#CCBC5C is a light, moderate yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.119 H 100.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CCBC5C
RGBrgb(204, 188, 92)
HSLhsl(51, 52%, 58%)
HSVhsv(51, 55%, 80%)
CMYKcmyk(0%, 7.8%, 54.9%, 20%)
CIE-LABlab(75.81, -6.56, 49.90)
CIE-LCHlch(75.81, 50.33, 97.49°)
OKLaboklab(78.92% -0.0206 0.1168)
OKLCHoklch(78.92% 0.119 100)
XYZxyz(44.8184, 49.5782, 17.3319)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC5C #5C6CCC
analogous
#CC845C #CCBC5C #A4CC5C
triadic
#CCBC5C #5CCCBC #BC5CCC
tetradic
#CCBC5C #5CCC84 #5C6CCC #CC5CA4
square
#CCBC5C #5CCC84 #5C6CCC #CC5CA4
split-complementary
#CCBC5C #5CA4CC #845CCC
monochromatic
#847729 #B3A138 #CCBC5C #DBCF8B #E9E2B9

Accessibility & contrast

On white

1.92
#CCBC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CCBC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC5C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC5C#FFFFFF#000000##000000
##CCBC5C1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbc5c;
/* rgb */ color: rgb(204, 188, 92);
/* oklch */ color: oklch(78.9% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#decf8d',
    500: '#ccbc5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc5c;
$custom-light: #decf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc5c",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 92
  },
  "hsl": {
    "h": 51.429,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78922,
    "c": 0.11859,
    "h": 100
  },
  "luminance": 0.49577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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