#CCF76B#CCF76B

#CCF76B is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.8% C 0.173 H 124.1°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#CCF76B
RGBrgb(204, 247, 107)
HSLhsl(78, 90%, 69%)
HSVhsv(78, 57%, 97%)
CMYKcmyk(17.4%, 0%, 56.7%, 3.1%)
CIE-LABlab(91.87, -34.11, 61.55)
CIE-LCHlch(91.87, 70.37, 119.00°)
OKLaboklab(91.82% -0.097 0.1434)
OKLCHoklch(91.82% 0.173 124.1)
XYZxyz(60.8167, 80.4200, 26.2257)
Luminance0.8042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF76B #966BF7
analogous
#F7DC6B #CCF76B #86F76B
triadic
#CCF76B #6BCCF7 #F76BCC
tetradic
#CCF76B #6BF7DC #966BF7 #F76B86
square
#CCF76B #6BF7DC #966BF7 #F76B86
split-complementary
#CCF76B #6B86F7 #DC6BF7
monochromatic
#9CDC0C #B8F431 #CCF76B #E0FAA5 #F4FDDF

Accessibility & contrast

On white

1.23
#CCF76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#CCF76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF76B
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF76B#FFFFFF#000000##000000
##CCF76B1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95C
Deuteranopia (green-blind)
#FEE774
Tritanopia (blue-blind)
#D4ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf76b;
/* rgb */ color: rgb(204, 247, 107);
/* oklch */ color: oklch(91.8% 0.173 124.1);
Tailwind
colors: {
  custom: {
    50: '#defa9a',
    500: '#ccf76b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf76b;
$custom-light: #defa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf76b",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 78.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9182,
    "c": 0.17313,
    "h": 124.1
  },
  "luminance": 0.8042
}

Semantic roles & 50–950 ramp

primary
#CCF76B
secondary
#6535D1
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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