#CCC34E#CCC34E

#CCC34E is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.137 H 104.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CCC34E
RGBrgb(204, 195, 78)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 4.4%, 61.8%, 20%)
CIE-LABlab(77.53, -11.17, 58.17)
CIE-LCHlch(77.53, 59.23, 100.87°)
OKLaboklab(80.25% -0.0353 0.1327)
OKLCHoklch(80.25% 0.137 104.9)
XYZxyz(45.7937, 52.4192, 14.9120)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC34E #4E57CC
analogous
#CC844E #CCC34E #96CC4E
triadic
#CCC34E #4ECCC3 #C34ECC
tetradic
#CCC34E #4ECC84 #4E57CC #CC4E96
square
#CCC34E #4ECC84 #4E57CC #CC4E96
split-complementary
#CCC34E #4E96CC #844ECC
monochromatic
#7C7624 #ABA331 #CCC34E #DAD37E #E7E3AD

Accessibility & contrast

On white

1.83
#CCC34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CCC34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC34E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC34E#FFFFFF#000000##000000
##CCC34E1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#DAB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc34e;
/* rgb */ color: rgb(204, 195, 78);
/* oklch */ color: oklch(80.2% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded485',
    500: '#ccc34e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc34e;
$custom-light: #ded485;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc34e",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 55.714,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80245,
    "c": 0.13736,
    "h": 104.9
  },
  "luminance": 0.52418
}

Semantic roles & 50–950 ramp

primary
#CCC34E
secondary
#3A4084
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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