#CCB95C#CCB95C

#CCB95C is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.116 H 98.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CCB95C
RGBrgb(204, 185, 92)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 9.3%, 54.9%, 20%)
CIE-LABlab(75.02, -5.00, 48.98)
CIE-LCHlch(75.02, 49.24, 95.83°)
OKLaboklab(78.3% -0.0161 0.1148)
OKLCHoklch(78.3% 0.116 98)
XYZxyz(44.1841, 48.3098, 17.1205)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95C #5C6FCC
analogous
#CC815C #CCB95C #A7CC5C
triadic
#CCB95C #5CCCB9 #B95CCC
tetradic
#CCB95C #5CCC81 #5C6FCC #CC5CA7
square
#CCB95C #5CCC81 #5C6FCC #CC5CA7
split-complementary
#CCB95C #5CA7CC #815CCC
monochromatic
#847529 #B39E38 #CCB95C #DBCD8B #E9E1B9

Accessibility & contrast

On white

1.97
#CCB95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CCB95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB95C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB95C#FFFFFF#000000##000000
##CCB95C1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B553
Deuteranopia (green-blind)
#CEBC60
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb95c;
/* rgb */ color: rgb(204, 185, 92);
/* oklch */ color: oklch(78.3% 0.116 98.0);
Tailwind
colors: {
  custom: {
    50: '#decd8d',
    500: '#ccb95c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95c;
$custom-light: #decd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95c",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 49.821,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78296,
    "c": 0.11592,
    "h": 98
  },
  "luminance": 0.48308
}

Semantic roles & 50–950 ramp

primary
#CCB95C
secondary
#ACB3D8
accent
#64DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB95C

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

Preview Lab → · Contrast checker → · Palette generator →

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