#CCF07C#CCF07C

#CCF07C is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.5% C 0.149 H 123.6°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#CCF07C
RGBrgb(204, 240, 124)
HSLhsl(79, 79%, 71%)
HSVhsv(79, 48%, 94%)
CMYKcmyk(15%, 0%, 48.3%, 5.9%)
CIE-LABlab(90.14, -29.31, 51.85)
CIE-LCHlch(90.14, 59.56, 119.48°)
OKLaboklab(90.49% -0.0821 0.1238)
OKLCHoklch(90.49% 0.149 123.6)
XYZxyz(59.7001, 76.6125, 30.7074)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF07C #A07CF0
analogous
#F0DA7C #CCF07C #92F07C
triadic
#CCF07C #7CCCF0 #F07CCC
tetradic
#CCF07C #7CF0DA #A07CF0 #F07C92
square
#CCF07C #7CF0DA #A07CF0 #F07C92
split-complementary
#CCF07C #7C92F0 #DA7CF0
monochromatic
#9DD919 #B7EA45 #CCF07C #E1F6B3 #F4FCE4

Accessibility & contrast

On white

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

On black

16.32
#CCF07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF07C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF07C#FFFFFF#000000##000000
##CCF07C1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE472
Deuteranopia (green-blind)
#F6E383
Tritanopia (blue-blind)
#D4E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf07c;
/* rgb */ color: rgb(204, 240, 124);
/* oklch */ color: oklch(90.5% 0.149 123.6);
Tailwind
colors: {
  custom: {
    50: '#ddf5a4',
    500: '#ccf07c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf07c;
$custom-light: #ddf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf07c",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 78.621,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90485,
    "c": 0.14857,
    "h": 123.6
  },
  "luminance": 0.76613
}

Semantic roles & 50–950 ramp

primary
#CCF07C
secondary
#6F46CA
accent
#0ADC4B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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