#CCCF59#CCCF59

#CCCF59 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.141 H 110.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CCCF59
RGBrgb(204, 207, 89)
HSLhsl(62, 55%, 58%)
HSVhsv(62, 57%, 81%)
CMYKcmyk(1.4%, 0%, 57%, 18.8%)
CIE-LABlab(80.84, -16.45, 57.00)
CIE-LCHlch(80.84, 59.33, 106.10°)
OKLaboklab(82.92% -0.0491 0.1317)
OKLCHoklch(82.92% 0.141 110.5)
XYZxyz(49.0191, 58.1855, 18.0980)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF59 #5C59CF
analogous
#CF9759 #CCCF59 #91CF59
triadic
#CCCF59 #59CCCF #CF59CC
tetradic
#CCCF59 #59CF97 #5C59CF #CF5991
square
#CCCF59 #59CF97 #5C59CF #CF5991
split-complementary
#CCCF59 #5991CF #9759CF
monochromatic
#848727 #B3B635 #CCCF59 #DBDD88 #E9EAB8

Accessibility & contrast

On white

1.66
#CCCF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CCCF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF59
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF59#FFFFFF#000000##000000
##CCCF591.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#DFCA60
Tritanopia (blue-blind)
#D9C3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf59;
/* rgb */ color: rgb(204, 207, 89);
/* oklch */ color: oklch(82.9% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd8c',
    500: '#cccf59',
    950: '#000000',
  },
}
SCSS
$custom: #cccf59;
$custom-light: #dedd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf59",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 61.525,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82915,
    "c": 0.14056,
    "h": 110.5
  },
  "luminance": 0.58184
}

Semantic roles & 50–950 ramp

primary
#CCCF59
secondary
#413F8E
accent
#49DE4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF59

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

Preview Lab → · Contrast checker → · Palette generator →

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