#CCCE77#CCCE77

#CCCE77 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.110 H 109.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CCCE77
RGBrgb(204, 206, 119)
HSLhsl(61, 47%, 64%)
HSVhsv(61, 42%, 81%)
CMYKcmyk(1%, 0%, 42.2%, 19.2%)
CIE-LABlab(80.91, -13.28, 42.92)
CIE-LCHlch(80.91, 44.93, 107.20°)
OKLaboklab(83.08% -0.0372 0.1036)
OKLCHoklch(83.08% 0.11 109.7)
XYZxyz(50.3037, 58.3129, 26.0548)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE77 #7977CE
analogous
#CEA477 #CCCE77 #A0CE77
triadic
#CCCE77 #77CCCE #CE77CC
tetradic
#CCCE77 #77CEA4 #7977CE #CE77A0
square
#CCCE77 #77CEA4 #7977CE #CE77A0
split-complementary
#CCCE77 #77A0CE #A477CE
monochromatic
#939536 #BBBE4A #CCCE77 #DDDEA4 #EEEED1

Accessibility & contrast

On white

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

On black

12.66
#CCCE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE77
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE77#FFFFFF#000000##000000
##CCCE771.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC770
Deuteranopia (green-blind)
#DBCA7B
Tritanopia (blue-blind)
#D7C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce77;
/* rgb */ color: rgb(204, 206, 119);
/* oklch */ color: oklch(83.1% 0.110 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddca0',
    500: '#ccce77',
    950: '#000000',
  },
}
SCSS
$custom: #ccce77;
$custom-light: #dddca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce77",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 119
  },
  "hsl": {
    "h": 61.379,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83081,
    "c": 0.1101,
    "h": 109.7
  },
  "luminance": 0.58312
}

Semantic roles & 50–950 ramp

primary
#CCCE77
secondary
#504E9B
accent
#2BBA2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCE77

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

Preview Lab → · Contrast checker → · Palette generator →

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