#CCC94B#CCC94B

#CCC94B is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.146 H 107.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCC94B
RGBrgb(204, 201, 75)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1.5%, 63.2%, 20%)
CIE-LABlab(79.11, -14.40, 61.12)
CIE-LCHlch(79.11, 62.79, 103.26°)
OKLaboklab(81.49% -0.0448 0.1385)
OKLCHoklch(81.49% 0.146 107.9)
XYZxyz(47.0601, 55.1201, 14.8155)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC94B #4B4ECC
analogous
#CC894B #CCC94B #8ECC4B
triadic
#CCC94B #4BCCC9 #C94BCC
tetradic
#CCC94B #4BCC89 #4B4ECC #CC4B8E
square
#CCC94B #4BCC89 #4B4ECC #CC4B8E
split-complementary
#CCC94B #4B8ECC #894BCC
monochromatic
#7A7823 #AAA730 #CCC94B #DAD77B #E7E6AA

Accessibility & contrast

On white

1.75
#CCC94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCC94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC94B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC94B#FFFFFF#000000##000000
##CCC94B1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13B
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc94b;
/* rgb */ color: rgb(204, 201, 75);
/* oklch */ color: oklch(81.5% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#ccc94b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc94b;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc94b",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 58.605,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.14561,
    "h": 107.9
  },
  "luminance": 0.55119
}

Semantic roles & 50–950 ramp

primary
#CCC94B
secondary
#393B82
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC94B

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

Preview Lab → · Contrast checker → · Palette generator →

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