#CCC75B#CCC75B

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

Color values

HEX#CCC75B
RGBrgb(204, 199, 91)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.5%, 55.4%, 20%)
CIE-LABlab(78.72, -12.28, 53.71)
CIE-LCHlch(78.72, 55.10, 102.88°)
OKLaboklab(81.23% -0.037 0.1249)
OKLCHoklch(81.23% 0.13 106.5)
XYZxyz(47.2150, 54.4410, 17.9165)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC75B #5B60CC
analogous
#CC8E5B #CCC75B #98CC5B
triadic
#CCC75B #5BCCC7 #C75BCC
tetradic
#CCC75B #5BCC8E #5B60CC #CC5B98
square
#CCC75B #5BCC8E #5B60CC #CC5B98
split-complementary
#CCC75B #5B98CC #8E5BCC
monochromatic
#848029 #B2AD37 #CCC75B #DBD78A #E9E7B8

Accessibility & contrast

On white

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

On black

11.89
#CCC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC75B
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC75B#FFFFFF#000000##000000
##CCC75B1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc75b;
/* rgb */ color: rgb(204, 199, 91);
/* oklch */ color: oklch(81.2% 0.130 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded78d',
    500: '#ccc75b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc75b;
$custom-light: #ded78d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc75b",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 57.345,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81229,
    "c": 0.13027,
    "h": 106.5
  },
  "luminance": 0.5444
}

Semantic roles & 50–950 ramp

primary
#CCC75B
secondary
#40448B
accent
#52DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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