#CCF06F#CCF06F

#CCF06F is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.3% C 0.161 H 122.6°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#CCF06F
RGBrgb(204, 240, 111)
HSLhsl(77, 81%, 69%)
HSVhsv(77, 54%, 94%)
CMYKcmyk(15%, 0%, 53.8%, 5.9%)
CIE-LABlab(90.00, -30.54, 57.64)
CIE-LCHlch(90.00, 65.23, 117.92°)
OKLaboklab(90.33% -0.0867 0.1354)
OKLCHoklch(90.33% 0.161 122.6)
XYZxyz(58.9315, 76.3051, 26.6595)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF06F #936FF0
analogous
#F0D46F #CCF06F #8CF06F
triadic
#CCF06F #6FCCF0 #F06FCC
tetradic
#CCF06F #6FF0D4 #936FF0 #F06F8C
square
#CCF06F #6FF0D4 #936FF0 #F06F8C
split-complementary
#CCF06F #6F8CF0 #D46FF0
monochromatic
#9BCF16 #B8EA38 #CCF06F #E0F6A6 #F3FCDE

Accessibility & contrast

On white

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

On black

16.26
#CCF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF06F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF06F#FFFFFF#000000##000000
##CCF06F1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE362
Deuteranopia (green-blind)
#F8E277
Tritanopia (blue-blind)
#D5E5D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf06f;
/* rgb */ color: rgb(204, 240, 111);
/* oklch */ color: oklch(90.3% 0.161 122.6);
Tailwind
colors: {
  custom: {
    50: '#def59c',
    500: '#ccf06f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf06f;
$custom-light: #def59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf06f",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 76.744,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90325,
    "c": 0.16075,
    "h": 122.6
  },
  "luminance": 0.76305
}

Semantic roles & 50–950 ramp

primary
#CCF06F
secondary
#623AC9
accent
#08DD44
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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