#CCCF81#CCCF81

#CCCF81 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.100 H 110.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CCCF81
RGBrgb(204, 207, 129)
HSLhsl(62, 45%, 66%)
HSVhsv(62, 38%, 81%)
CMYKcmyk(1.4%, 0%, 37.7%, 18.8%)
CIE-LABlab(81.32, -12.70, 38.43)
CIE-LCHlch(81.32, 40.47, 108.30°)
OKLaboklab(83.45% -0.0347 0.094)
OKLCHoklch(83.45% 0.1 110.3)
XYZxyz(51.1777, 59.0489, 29.4662)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF81 #8481CF
analogous
#CFAB81 #CCCF81 #A5CF81
triadic
#CCCF81 #81CCCF #CF81CC
tetradic
#CCCF81 #81CFAB #8481CF #CF81A5
square
#CCCF81 #81CFAB #8481CF #CF81A5
split-complementary
#CCCF81 #81A5CF #AB81CF
monochromatic
#979B3B #BABE55 #CCCF81 #DEE0AD #F0F1DA

Accessibility & contrast

On white

1.64
#CCCF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#CCCF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF81
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF81#FFFFFF#000000##000000
##CCCF811.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC97B
Deuteranopia (green-blind)
#DBCB84
Tritanopia (blue-blind)
#D6C6BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf81;
/* rgb */ color: rgb(204, 207, 129);
/* oklch */ color: oklch(83.4% 0.100 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcdda6',
    500: '#cccf81',
    950: '#000000',
  },
}
SCSS
$custom: #cccf81;
$custom-light: #dcdda6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf81",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 129
  },
  "hsl": {
    "h": 62.308,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83449,
    "c": 0.1002,
    "h": 110.3
  },
  "luminance": 0.59048
}

Semantic roles & 50–950 ramp

primary
#CCCF81
secondary
#5754A0
accent
#2EB833
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF81

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

Preview Lab → · Contrast checker → · Palette generator →

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