#CCC54E#CCC54E

#CCC54E is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.139 H 105.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCC54E
RGBrgb(204, 197, 78)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3.4%, 61.8%, 20%)
CIE-LABlab(78.06, -12.19, 58.74)
CIE-LCHlch(78.06, 60.00, 101.72°)
OKLaboklab(80.67% -0.0382 0.134)
OKLCHoklch(80.67% 0.139 105.9)
XYZxyz(46.2448, 53.3215, 15.0623)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC54E #4E55CC
analogous
#CC864E #CCC54E #94CC4E
triadic
#CCC54E #4ECCC5 #C54ECC
tetradic
#CCC54E #4ECC86 #4E55CC #CC4E94
square
#CCC54E #4ECC86 #4E55CC #CC4E94
split-complementary
#CCC54E #4E94CC #864ECC
monochromatic
#7C7724 #ABA531 #CCC54E #DAD57E #E7E4AD

Accessibility & contrast

On white

1.80
#CCC54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CCC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC54E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC54E#FFFFFF#000000##000000
##CCC54E1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE40
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc54e;
/* rgb */ color: rgb(204, 197, 78);
/* oklch */ color: oklch(80.7% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded685',
    500: '#ccc54e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc54e;
$custom-light: #ded685;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc54e",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 56.667,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8067,
    "c": 0.13931,
    "h": 105.9
  },
  "luminance": 0.5332
}

Semantic roles & 50–950 ramp

primary
#CCC54E
secondary
#3A3E84
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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