#CCC94E#CCC94E

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

Color values

HEX#CCC94E
RGBrgb(204, 201, 78)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 61.8%, 20%)
CIE-LABlab(79.13, -14.21, 59.89)
CIE-LCHlch(79.13, 61.55, 103.35°)
OKLaboklab(81.52% -0.044 0.1364)
OKLCHoklch(81.52% 0.143 107.9)
XYZxyz(47.1652, 55.1621, 15.3691)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC94E #4E51CC
analogous
#CC8A4E #CCC94E #90CC4E
triadic
#CCC94E #4ECCC9 #C94ECC
tetradic
#CCC94E #4ECC8A #4E51CC #CC4E90
square
#CCC94E #4ECC8A #4E51CC #CC4E90
split-complementary
#CCC94E #4E90CC #8A4ECC
monochromatic
#7C7A24 #ABA931 #CCC94E #DAD77E #E7E6AD

Accessibility & contrast

On white

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

On black

12.03
#CCC94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC94E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC94E#FFFFFF#000000##000000
##CCC94E1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc94e;
/* rgb */ color: rgb(204, 201, 78);
/* oklch */ color: oklch(81.5% 0.143 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded985',
    500: '#ccc94e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc94e;
$custom-light: #ded985;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc94e",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 58.571,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81522,
    "c": 0.1433,
    "h": 107.9
  },
  "luminance": 0.55161
}

Semantic roles & 50–950 ramp

primary
#CCC94E
secondary
#3A3C84
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC94E

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

Preview Lab → · Contrast checker → · Palette generator →

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