#CCC95A#CCC95A

#CCC95A is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.133 H 107.6°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CCC95A
RGBrgb(204, 201, 90)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 1.5%, 55.9%, 20%)
CIE-LABlab(79.24, -13.37, 54.76)
CIE-LCHlch(79.24, 56.37, 103.72°)
OKLaboklab(81.64% -0.0403 0.127)
OKLCHoklch(81.64% 0.133 107.6)
XYZxyz(47.6353, 55.3502, 17.8453)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC95A #5A5DCC
analogous
#CC905A #CCC95A #96CC5A
triadic
#CCC95A #5ACCC9 #C95ACC
tetradic
#CCC95A #5ACC90 #5A5DCC #CC5A96
square
#CCC95A #5ACC90 #5A5DCC #CC5A96
split-complementary
#CCC95A #5A96CC #905ACC
monochromatic
#838129 #B2AF37 #CCC95A #DAD889 #E9E8B7

Accessibility & contrast

On white

1.74
#CCC95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CCC95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC95A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC95A#FFFFFF#000000##000000
##CCC95A1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#D9BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc95a;
/* rgb */ color: rgb(204, 201, 90);
/* oklch */ color: oklch(81.6% 0.133 107.6);
Tailwind
colors: {
  custom: {
    50: '#ded98c',
    500: '#ccc95a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc95a;
$custom-light: #ded98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc95a",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 58.421,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81643,
    "c": 0.13326,
    "h": 107.6
  },
  "luminance": 0.55349
}

Semantic roles & 50–950 ramp

primary
#CCC95A
secondary
#40428A
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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