#CCF76F#CCF76F

#CCF76F is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.9% C 0.170 H 124.3°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#CCF76F
RGBrgb(204, 247, 111)
HSLhsl(79, 89%, 70%)
HSVhsv(79, 55%, 97%)
CMYKcmyk(17.4%, 0%, 55.1%, 3.1%)
CIE-LABlab(91.91, -33.77, 59.85)
CIE-LCHlch(91.91, 68.72, 119.44°)
OKLaboklab(91.86% -0.0957 0.1402)
OKLCHoklch(91.86% 0.17 124.3)
XYZxyz(61.0320, 80.5062, 27.3597)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF76F #9A6FF7
analogous
#F7DE6F #CCF76F #88F76F
triadic
#CCF76F #6FCCF7 #F76FCC
tetradic
#CCF76F #6FF7DE #9A6FF7 #F76F88
square
#CCF76F #6FF7DE #9A6FF7 #F76F88
split-complementary
#CCF76F #6F88F7 #DE6FF7
monochromatic
#9DDF0C #B7F435 #CCF76F #E1FAA9 #F5FDE2

Accessibility & contrast

On white

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

On black

17.10
#CCF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF76F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF76F#FFFFFF#000000##000000
##CCF76F1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf76f;
/* rgb */ color: rgb(204, 247, 111);
/* oklch */ color: oklch(91.9% 0.170 124.3);
Tailwind
colors: {
  custom: {
    50: '#defa9c',
    500: '#ccf76f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf76f;
$custom-light: #defa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf76f",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 78.971,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91864,
    "c": 0.16971,
    "h": 124.3
  },
  "luminance": 0.80507
}

Semantic roles & 50–950 ramp

primary
#CCF76F
secondary
#6939D1
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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