#CCC54D#CCC54D

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

Color values

HEX#CCC54D
RGBrgb(204, 197, 77)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3.4%, 62.3%, 20%)
CIE-LABlab(78.06, -12.26, 59.16)
CIE-LCHlch(78.06, 60.42, 101.70°)
OKLaboklab(80.66% -0.0385 0.1347)
OKLCHoklch(80.66% 0.14 106)
XYZxyz(46.2093, 53.3072, 14.8750)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC54D #4D54CC
analogous
#CC864D #CCC54D #93CC4D
triadic
#CCC54D #4DCCC5 #C54DCC
tetradic
#CCC54D #4DCC86 #4D54CC #CC4D93
square
#CCC54D #4DCC86 #4D54CC #CC4D93
split-complementary
#CCC54D #4D93CC #864DCC
monochromatic
#7B7623 #ABA431 #CCC54D #DAD57D #E7E4AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC54D#FFFFFF#000000##000000
##CCC54D1.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)
#D5BE3E
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc54d;
/* rgb */ color: rgb(204, 197, 77);
/* oklch */ color: oklch(80.7% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded684',
    500: '#ccc54d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc54d;
$custom-light: #ded684;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc54d",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 56.693,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8066,
    "c": 0.1401,
    "h": 106
  },
  "luminance": 0.53306
}

Semantic roles & 50–950 ramp

primary
#CCC54D
secondary
#3A3E83
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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