#CCC54F#CCC54F

#CCC54F 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.67:1 contrast (WCAG AA passes).

Color values

HEX#CCC54F
RGBrgb(204, 197, 79)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 61%, 80%)
CMYKcmyk(0%, 3.4%, 61.3%, 20%)
CIE-LABlab(78.07, -12.13, 58.32)
CIE-LCHlch(78.07, 59.57, 101.74°)
OKLaboklab(80.68% -0.0379 0.1332)
OKLCHoklch(80.68% 0.139 105.9)
XYZxyz(46.2810, 53.3359, 15.2526)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC54F #4F56CC
analogous
#CC864F #CCC54F #94CC4F
triadic
#CCC54F #4FCCC5 #C54FCC
tetradic
#CCC54F #4FCC86 #4F56CC #CC4F94
square
#CCC54F #4FCC86 #4F56CC #CC4F94
split-complementary
#CCC54F #4F94CC #864FCC
monochromatic
#7D7824 #ACA532 #CCC54F #DAD57E #E7E4AE

Accessibility & contrast

On white

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

On black

11.67
#CCC54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC54F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC54F#FFFFFF#000000##000000
##CCC54F1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc54f;
/* rgb */ color: rgb(204, 197, 79);
/* oklch */ color: oklch(80.7% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded685',
    500: '#ccc54f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc54f;
$custom-light: #ded685;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc54f",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 56.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.13851,
    "h": 105.9
  },
  "luminance": 0.53334
}

Semantic roles & 50–950 ramp

primary
#CCC54F
secondary
#3B3F84
accent
#52DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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