#CCCB4E#CCCB4E

#CCCB4E is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.145 H 108.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CCCB4E
RGBrgb(204, 203, 78)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0%, 0.5%, 61.8%, 20%)
CIE-LABlab(79.67, -15.22, 60.46)
CIE-LCHlch(79.67, 62.35, 104.13°)
OKLaboklab(81.95% -0.0468 0.1376)
OKLCHoklch(81.95% 0.145 108.8)
XYZxyz(47.6344, 56.1007, 15.5255)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB4E #4E4FCC
analogous
#CC8C4E #CCCB4E #8ECC4E
triadic
#CCCB4E #4ECCCB #CB4ECC
tetradic
#CCCB4E #4ECC8C #4E4FCC #CC4E8E
square
#CCCB4E #4ECC8C #4E4FCC #CC4E8E
split-complementary
#CCCB4E #4E8ECC #8C4ECC
monochromatic
#7C7B24 #ABAA31 #CCCB4E #DAD97E #E7E7AD

Accessibility & contrast

On white

1.72
#CCCB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CCCB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB4E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB4E#FFFFFF#000000##000000
##CCCB4E1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33F
Deuteranopia (green-blind)
#DCC856
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb4e;
/* rgb */ color: rgb(204, 203, 78);
/* oklch */ color: oklch(82.0% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#deda85',
    500: '#cccb4e',
    950: '#000000',
  },
}
SCSS
$custom: #cccb4e;
$custom-light: #deda85;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb4e",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 59.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8195,
    "c": 0.14534,
    "h": 108.8
  },
  "luminance": 0.56099
}

Semantic roles & 50–950 ramp

primary
#CCCB4E
secondary
#3A3B84
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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