#CCF08A#CCF08A

#CCF08A is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.7% C 0.134 H 124.9°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#CCF08A
RGBrgb(204, 240, 138)
HSLhsl(81, 77%, 74%)
HSVhsv(81, 43%, 94%)
CMYKcmyk(15%, 0%, 42.5%, 5.9%)
CIE-LABlab(90.32, -27.81, 45.39)
CIE-LCHlch(90.32, 53.23, 121.49°)
OKLaboklab(90.68% -0.0769 0.1102)
OKLCHoklch(90.68% 0.134 124.9)
XYZxyz(60.6491, 76.9921, 35.7056)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF08A #AE8AF0
analogous
#F0E18A #CCF08A #99F08A
triadic
#CCF08A #8ACCF0 #F08ACC
tetradic
#CCF08A #8AF0E1 #AE8AF0 #F08A99
square
#CCF08A #8AF0E1 #AE8AF0 #F08A99
split-complementary
#CCF08A #8A99F0 #E18AF0
monochromatic
#9DE21E #B4E954 #CCF08A #E4F7C0 #F3FCE4

Accessibility & contrast

On white

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

On black

16.40
#CCF08A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF08A
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF08A#FFFFFF#000000##000000
##CCF08A1.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE482
Deuteranopia (green-blind)
#F5E38F
Tritanopia (blue-blind)
#D2E7D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf08a;
/* rgb */ color: rgb(204, 240, 138);
/* oklch */ color: oklch(90.7% 0.134 124.9);
Tailwind
colors: {
  custom: {
    50: '#ddf5ae',
    500: '#ccf08a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf08a;
$custom-light: #ddf5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf08a",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 138
  },
  "hsl": {
    "h": 81.176,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90683,
    "c": 0.13442,
    "h": 124.9
  },
  "luminance": 0.76993
}

Semantic roles & 50–950 ramp

primary
#CCF08A
secondary
#7D53CC
accent
#0CDA55
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF08A

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

Preview Lab → · Contrast checker → · Palette generator →

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