#CCF07F#CCF07F

#CCF07F is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.5% C 0.146 H 123.8°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#CCF07F
RGBrgb(204, 240, 127)
HSLhsl(79, 79%, 72%)
HSVhsv(79, 47%, 94%)
CMYKcmyk(15%, 0%, 47.1%, 5.9%)
CIE-LABlab(90.18, -29.00, 50.48)
CIE-LCHlch(90.18, 58.22, 119.88°)
OKLaboklab(90.53% -0.081 0.121)
OKLCHoklch(90.53% 0.146 123.8)
XYZxyz(59.8927, 76.6896, 31.7218)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF07F #A37FF0
analogous
#F0DC7F #CCF07F #94F07F
triadic
#CCF07F #7FCCF0 #F07FCC
tetradic
#CCF07F #7FF0DC #A37FF0 #F07F94
square
#CCF07F #7FF0DC #A37FF0 #F07F94
split-complementary
#CCF07F #7F94F0 #DC7FF0
monochromatic
#9DDB1A #B6EA48 #CCF07F #E2F6B6 #F4FCE4

Accessibility & contrast

On white

1.29
#CCF07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#CCF07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF07F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF07F#FFFFFF#000000##000000
##CCF07F1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE475
Deuteranopia (green-blind)
#F6E385
Tritanopia (blue-blind)
#D3E6D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf07f;
/* rgb */ color: rgb(204, 240, 127);
/* oklch */ color: oklch(90.5% 0.146 123.8);
Tailwind
colors: {
  custom: {
    50: '#ddf5a6',
    500: '#ccf07f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf07f;
$custom-light: #ddf5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf07f",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 79.115,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90526,
    "c": 0.14562,
    "h": 123.8
  },
  "luminance": 0.7669
}

Semantic roles & 50–950 ramp

primary
#CCF07F
secondary
#7249CB
accent
#0ADB4D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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