#CCF07E#CCF07E

#CCF07E is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.5% C 0.147 H 123.7°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#CCF07E
RGBrgb(204, 240, 126)
HSLhsl(79, 79%, 72%)
HSVhsv(79, 48%, 94%)
CMYKcmyk(15%, 0%, 47.5%, 5.9%)
CIE-LABlab(90.17, -29.11, 50.94)
CIE-LCHlch(90.17, 58.67, 119.74°)
OKLaboklab(90.51% -0.0814 0.1219)
OKLCHoklch(90.51% 0.147 123.7)
XYZxyz(59.8278, 76.6636, 31.3803)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF07E #A27EF0
analogous
#F0DB7E #CCF07E #93F07E
triadic
#CCF07E #7ECCF0 #F07ECC
tetradic
#CCF07E #7EF0DB #A27EF0 #F07E93
square
#CCF07E #7EF0DB #A27EF0 #F07E93
split-complementary
#CCF07E #7E93F0 #DB7EF0
monochromatic
#9DDA19 #B6EA47 #CCF07E #E2F6B5 #F4FCE4

Accessibility & contrast

On white

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

On black

16.33
#CCF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF07E
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF07E#FFFFFF#000000##000000
##CCF07E1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE474
Deuteranopia (green-blind)
#F6E384
Tritanopia (blue-blind)
#D3E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf07e;
/* rgb */ color: rgb(204, 240, 126);
/* oklch */ color: oklch(90.5% 0.147 123.7);
Tailwind
colors: {
  custom: {
    50: '#ddf5a6',
    500: '#ccf07e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf07e;
$custom-light: #ddf5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf07e",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 78.947,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90512,
    "c": 0.14662,
    "h": 123.7
  },
  "luminance": 0.76664
}

Semantic roles & 50–950 ramp

primary
#CCF07E
secondary
#7148CA
accent
#0ADB4C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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