#CCC84E#CCC84E

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

Color values

HEX#CCC84E
RGBrgb(204, 200, 78)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2%, 61.8%, 20%)
CIE-LABlab(78.87, -13.71, 59.60)
CIE-LCHlch(78.87, 61.16, 102.95°)
OKLaboklab(81.31% -0.0425 0.1358)
OKLCHoklch(81.31% 0.142 107.4)
XYZxyz(46.9328, 54.6974, 15.2917)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC84E #4E52CC
analogous
#CC894E #CCC84E #91CC4E
triadic
#CCC84E #4ECCC8 #C84ECC
tetradic
#CCC84E #4ECC89 #4E52CC #CC4E91
square
#CCC84E #4ECC89 #4E52CC #CC4E91
split-complementary
#CCC84E #4E91CC #894ECC
monochromatic
#7C7924 #ABA831 #CCC84E #DAD77E #E7E6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC84E#FFFFFF#000000##000000
##CCC84E1.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)
#D8C13F
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc84e;
/* rgb */ color: rgb(204, 200, 78);
/* oklch */ color: oklch(81.3% 0.142 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded885',
    500: '#ccc84e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc84e;
$custom-light: #ded885;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc84e",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 58.095,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81309,
    "c": 0.14228,
    "h": 107.4
  },
  "luminance": 0.54696
}

Semantic roles & 50–950 ramp

primary
#CCC84E
secondary
#3A3D84
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC84E

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

Preview Lab → · Contrast checker → · Palette generator →

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