#CCC75A#CCC75A

#CCC75A is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.131 H 106.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CCC75A
RGBrgb(204, 199, 90)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.5%, 55.9%, 20%)
CIE-LABlab(78.71, -12.36, 54.16)
CIE-LCHlch(78.71, 55.55, 102.85°)
OKLaboklab(81.22% -0.0374 0.1257)
OKLCHoklch(81.22% 0.131 106.6)
XYZxyz(47.1721, 54.4238, 17.6909)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC75A #5A5FCC
analogous
#CC8E5A #CCC75A #98CC5A
triadic
#CCC75A #5ACCC7 #C75ACC
tetradic
#CCC75A #5ACC8E #5A5FCC #CC5A98
square
#CCC75A #5ACC8E #5A5FCC #CC5A98
split-complementary
#CCC75A #5A98CC #8E5ACC
monochromatic
#837F29 #B2AC37 #CCC75A #DAD789 #E9E7B7

Accessibility & contrast

On white

1.77
#CCC75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CCC75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC75A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC75A#FFFFFF#000000##000000
##CCC75A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc75a;
/* rgb */ color: rgb(204, 199, 90);
/* oklch */ color: oklch(81.2% 0.131 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded78c',
    500: '#ccc75a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc75a;
$custom-light: #ded78c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc75a",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 57.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81218,
    "c": 0.13117,
    "h": 106.6
  },
  "luminance": 0.54422
}

Semantic roles & 50–950 ramp

primary
#CCC75A
secondary
#40438A
accent
#52DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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