#CCF08F#CCF08F

#CCF08F is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.8% C 0.129 H 125.5°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#CCF08F
RGBrgb(204, 240, 143)
HSLhsl(82, 76%, 75%)
HSVhsv(82, 40%, 94%)
CMYKcmyk(15%, 0%, 40.4%, 5.9%)
CIE-LABlab(90.39, -27.23, 43.04)
CIE-LCHlch(90.39, 50.93, 122.32°)
OKLaboklab(90.76% -0.075 0.1052)
OKLCHoklch(90.76% 0.129 125.5)
XYZxyz(61.0195, 77.1403, 37.6561)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF08F #B38FF0
analogous
#F0E38F #CCF08F #9BF08F
triadic
#CCF08F #8FCCF0 #F08FCC
tetradic
#CCF08F #8FF0E3 #B38FF0 #F08F9B
square
#CCF08F #8FF0E3 #B38FF0 #F08F9B
split-complementary
#CCF08F #8F9BF0 #E38FF0
monochromatic
#9BE223 #B3E959 #CCF08F #E5F7C5 #F3FBE4

Accessibility & contrast

On white

1.28
#CCF08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#CCF08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF08F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF08F#FFFFFF#000000##000000
##CCF08F1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE588
Deuteranopia (green-blind)
#F5E394
Tritanopia (blue-blind)
#D2E8D8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf08f;
/* rgb */ color: rgb(204, 240, 143);
/* oklch */ color: oklch(90.8% 0.129 125.5);
Tailwind
colors: {
  custom: {
    50: '#ddf5b1',
    500: '#ccf08f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf08f;
$custom-light: #ddf5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf08f",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 143
  },
  "hsl": {
    "h": 82.268,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.9076,
    "c": 0.12915,
    "h": 125.5
  },
  "luminance": 0.77141
}

Semantic roles & 50–950 ramp

primary
#CCF08F
secondary
#8357CC
accent
#0DD959
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151711
muted
#848581

Preview Lab

Preview with #CCF08F

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

Preview Lab → · Contrast checker → · Palette generator →

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