#CCC84F#CCC84F

#CCC84F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.141 H 107.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CCC84F
RGBrgb(204, 200, 79)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2%, 61.3%, 20%)
CIE-LABlab(78.88, -13.64, 59.19)
CIE-LCHlch(78.88, 60.74, 102.98°)
OKLaboklab(81.32% -0.0422 0.1351)
OKLCHoklch(81.32% 0.142 107.4)
XYZxyz(46.9689, 54.7119, 15.4819)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC84F #4F53CC
analogous
#CC894F #CCC84F #91CC4F
triadic
#CCC84F #4FCCC8 #C84FCC
tetradic
#CCC84F #4FCC89 #4F53CC #CC4F91
square
#CCC84F #4FCC89 #4F53CC #CC4F91
split-complementary
#CCC84F #4F91CC #894FCC
monochromatic
#7D7A24 #ACA832 #CCC84F #DAD77E #E7E6AE

Accessibility & contrast

On white

1.76
#CCC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CCC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC84F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC84F#FFFFFF#000000##000000
##CCC84F1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C141
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc84f;
/* rgb */ color: rgb(204, 200, 79);
/* oklch */ color: oklch(81.3% 0.141 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded885',
    500: '#ccc84f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc84f;
$custom-light: #ded885;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc84f",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 58.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81318,
    "c": 0.1415,
    "h": 107.4
  },
  "luminance": 0.5471
}

Semantic roles & 50–950 ramp

primary
#CCC84F
secondary
#3B3D84
accent
#4EDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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