#CCBC5D#CCBC5D

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

Color values

HEX#CCBC5D
RGBrgb(204, 188, 93)
HSLhsl(51, 52%, 58%)
HSVhsv(51, 54%, 80%)
CMYKcmyk(0%, 7.8%, 54.4%, 20%)
CIE-LABlab(75.82, -6.48, 49.44)
CIE-LCHlch(75.82, 49.86, 97.46°)
OKLaboklab(78.93% -0.0202 0.1159)
OKLCHoklch(78.93% 0.118 99.9)
XYZxyz(44.8624, 49.5958, 17.5636)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC5D #5D6DCC
analogous
#CC845D #CCBC5D #A5CC5D
triadic
#CCBC5D #5DCCBC #BC5DCC
tetradic
#CCBC5D #5DCC84 #5D6DCC #CC5DA5
square
#CCBC5D #5DCC84 #5D6DCC #CC5DA5
split-complementary
#CCBC5D #5DA5CC #845DCC
monochromatic
#85782A #B3A238 #CCBC5D #DBCF8C #E9E3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBC5D#FFFFFF#000000##000000
##CCBC5D1.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)
#CBB754
Deuteranopia (green-blind)
#D0BE61
Tritanopia (blue-blind)
#DAB1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc5d;
/* rgb */ color: rgb(204, 188, 93);
/* oklch */ color: oklch(78.9% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#decf8e',
    500: '#ccbc5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc5d;
$custom-light: #decf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc5d",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 93
  },
  "hsl": {
    "h": 51.351,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78934,
    "c": 0.11765,
    "h": 99.9
  },
  "luminance": 0.49594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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