#CCBC5E#CCBC5E

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

Color values

HEX#CCBC5E
RGBrgb(204, 188, 94)
HSLhsl(51, 52%, 58%)
HSVhsv(51, 54%, 80%)
CMYKcmyk(0%, 7.8%, 53.9%, 20%)
CIE-LABlab(75.83, -6.40, 48.98)
CIE-LCHlch(75.83, 49.39, 97.44°)
OKLaboklab(78.95% -0.0199 0.115)
OKLCHoklch(78.95% 0.117 99.8)
XYZxyz(44.9069, 49.6137, 17.7984)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC5E #5E6ECC
analogous
#CC855E #CCBC5E #A5CC5E
triadic
#CCBC5E #5ECCBC #BC5ECC
tetradic
#CCBC5E #5ECC85 #5E6ECC #CC5EA5
square
#CCBC5E #5ECC85 #5E6ECC #CC5EA5
split-complementary
#CCBC5E #5EA5CC #855ECC
monochromatic
#85782A #B4A239 #CCBC5E #DBCF8C #E9E3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBC5E#FFFFFF#000000##000000
##CCBC5E1.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)
#CBB755
Deuteranopia (green-blind)
#D0BE62
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc5e;
/* rgb */ color: rgb(204, 188, 94);
/* oklch */ color: oklch(78.9% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#decf8e',
    500: '#ccbc5e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc5e;
$custom-light: #decf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc5e",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 94
  },
  "hsl": {
    "h": 51.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78946,
    "c": 0.1167,
    "h": 99.8
  },
  "luminance": 0.49612
}

Semantic roles & 50–950 ramp

primary
#CCBC5E
secondary
#ADB3D9
accent
#61DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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