#CCF77C#CCF77C

#CCF77C is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.0% C 0.158 H 125.3°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#CCF77C
RGBrgb(204, 247, 124)
HSLhsl(81, 88%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.4%, 0%, 49.8%, 3.1%)
CIE-LABlab(92.05, -32.56, 54.14)
CIE-LCHlch(92.05, 63.18, 121.02°)
OKLaboklab(92.02% -0.0912 0.1289)
OKLCHoklch(92.02% 0.158 125.3)
XYZxyz(61.8006, 80.8136, 31.4076)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF77C #A77CF7
analogous
#F7E57C #CCF77C #8EF77C
triadic
#CCF77C #7CCCF7 #F77CCC
tetradic
#CCF77C #7CF7E5 #A77CF7 #F77C8E
square
#CCF77C #7CF7E5 #A77CF7 #F77C8E
split-complementary
#CCF77C #7C8EF7 #E57CF7
monochromatic
#9DEA0E #B6F342 #CCF77C #E2FBB6 #F4FDE2

Accessibility & contrast

On white

1.22
#CCF77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#CCF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF77C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF77C#FFFFFF#000000##000000
##CCF77C1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FCE883
Tritanopia (blue-blind)
#D3EDDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf77c;
/* rgb */ color: rgb(204, 247, 124);
/* oklch */ color: oklch(92.0% 0.158 125.3);
Tailwind
colors: {
  custom: {
    50: '#defaa4',
    500: '#ccf77c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf77c;
$custom-light: #defaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf77c",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 80.976,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92018,
    "c": 0.15789,
    "h": 125.3
  },
  "luminance": 0.80814
}

Semantic roles & 50–950 ramp

primary
#CCF77C
secondary
#7644D3
accent
#00E550
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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