#CCBC5F#CCBC5F

#CCBC5F is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.116 H 99.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CCBC5F
RGBrgb(204, 188, 95)
HSLhsl(51, 52%, 59%)
HSVhsv(51, 53%, 80%)
CMYKcmyk(0%, 7.8%, 53.4%, 20%)
CIE-LABlab(75.84, -6.31, 48.51)
CIE-LCHlch(75.84, 48.92, 97.42°)
OKLaboklab(78.96% -0.0195 0.1141)
OKLCHoklch(78.96% 0.116 99.7)
XYZxyz(44.9521, 49.6317, 18.0363)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC5F #5F6FCC
analogous
#CC855F #CCBC5F #A5CC5F
triadic
#CCBC5F #5FCCBC #BC5FCC
tetradic
#CCBC5F #5FCC85 #5F6FCC #CC5FA5
square
#CCBC5F #5FCC85 #5F6FCC #CC5FA5
split-complementary
#CCBC5F #5FA5CC #855FCC
monochromatic
#86792B #B4A239 #CCBC5F #DBCF8D #EAE3BC

Accessibility & contrast

On white

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

On black

10.93
#CCBC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC5F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC5F#FFFFFF#000000##000000
##CCBC5F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB756
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc5f;
/* rgb */ color: rgb(204, 188, 95);
/* oklch */ color: oklch(79.0% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#decf8f',
    500: '#ccbc5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc5f;
$custom-light: #decf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc5f",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 51.193,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78958,
    "c": 0.11574,
    "h": 99.7
  },
  "luminance": 0.4963
}

Semantic roles & 50–950 ramp

primary
#CCBC5F
secondary
#AEB4D9
accent
#62DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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