#CCF77B#CCF77B

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

Color values

HEX#CCF77B
RGBrgb(204, 247, 123)
HSLhsl(81, 89%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.4%, 0%, 50.2%, 3.1%)
CIE-LABlab(92.04, -32.66, 54.59)
CIE-LCHlch(92.04, 63.62, 120.89°)
OKLaboklab(92.01% -0.0916 0.1298)
OKLCHoklch(92.01% 0.159 125.2)
XYZxyz(61.7377, 80.7884, 31.0762)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF77B #A67BF7
analogous
#F7E47B #CCF77B #8EF77B
triadic
#CCF77B #7BCCF7 #F77BCC
tetradic
#CCF77B #7BF7E4 #A67BF7 #F77B8E
square
#CCF77B #7BF7E4 #A67BF7 #F77B8E
split-complementary
#CCF77B #7B8EF7 #E47BF7
monochromatic
#9DE90E #B6F441 #CCF77B #E2FAB5 #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF77B#FFFFFF#000000##000000
##CCF77B1.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)
#FFEA70
Deuteranopia (green-blind)
#FCE882
Tritanopia (blue-blind)
#D3EDDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf77b;
/* rgb */ color: rgb(204, 247, 123);
/* oklch */ color: oklch(92.0% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#defaa4',
    500: '#ccf77b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf77b;
$custom-light: #defaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf77b",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 123
  },
  "hsl": {
    "h": 80.806,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92006,
    "c": 0.15883,
    "h": 125.2
  },
  "luminance": 0.80789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF77B

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

Preview Lab → · Contrast checker → · Palette generator →

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