#CCF08C#CCF08C

#CCF08C is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.7% C 0.132 H 125.1°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#CCF08C
RGBrgb(204, 240, 140)
HSLhsl(82, 77%, 75%)
HSVhsv(82, 42%, 94%)
CMYKcmyk(15%, 0%, 41.7%, 5.9%)
CIE-LABlab(90.34, -27.58, 44.45)
CIE-LCHlch(90.34, 52.31, 121.82°)
OKLaboklab(90.71% -0.0761 0.1082)
OKLCHoklch(90.71% 0.132 125.1)
XYZxyz(60.7952, 77.0506, 36.4752)
Luminance0.7705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF08C #B08CF0
analogous
#F0E28C #CCF08C #9AF08C
triadic
#CCF08C #8CCCF0 #F08CCC
tetradic
#CCF08C #8CF0E2 #B08CF0 #F08C9A
square
#CCF08C #8CF0E2 #B08CF0 #F08C9A
split-complementary
#CCF08C #8C9AF0 #E28CF0
monochromatic
#9CE220 #B4E956 #CCF08C #E4F7C2 #F3FBE4

Accessibility & contrast

On white

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

On black

16.41
#CCF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF08C
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF08C#FFFFFF#000000##000000
##CCF08C1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE584
Deuteranopia (green-blind)
#F5E391
Tritanopia (blue-blind)
#D2E7D8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf08c;
/* rgb */ color: rgb(204, 240, 140);
/* oklch */ color: oklch(90.7% 0.132 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddf5af',
    500: '#ccf08c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf08c;
$custom-light: #ddf5af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf08c",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 81.6,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90713,
    "c": 0.13233,
    "h": 125.1
  },
  "luminance": 0.77051
}

Semantic roles & 50–950 ramp

primary
#CCF08C
secondary
#7F54CC
accent
#0CD956
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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