#CCF295#CCF295

#CCF295 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.3% C 0.126 H 126.8°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#CCF295
RGBrgb(204, 242, 149)
HSLhsl(85, 78%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(15.7%, 0%, 38.4%, 5.1%)
CIE-LABlab(91.01, -27.45, 40.89)
CIE-LCHlch(91.01, 49.25, 123.87°)
OKLaboklab(91.29% -0.0753 0.1005)
OKLCHoklch(91.29% 0.126 126.8)
XYZxyz(62.0782, 78.5110, 40.3116)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF295 #BB95F2
analogous
#F2E995 #CCF295 #9EF295
triadic
#CCF295 #95CCF2 #F295CC
tetradic
#CCF295 #95F2E9 #BB95F2 #F2959E
square
#CCF295 #95F2E9 #BB95F2 #F2959E
split-complementary
#CCF295 #959EF2 #E995F2
monochromatic
#98E528 #B2EB5E #CCF295 #E6F9CC #F2FCE4

Accessibility & contrast

On white

1.26
#CCF295 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#CCF295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF295
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF295#FFFFFF#000000##000000
##CCF2951.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78E
Deuteranopia (green-blind)
#F6E59A
Tritanopia (blue-blind)
#D1EADB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf295;
/* rgb */ color: rgb(204, 242, 149);
/* oklch */ color: oklch(91.3% 0.126 126.8);
Tailwind
colors: {
  custom: {
    50: '#ddf6b5',
    500: '#ccf295',
    950: '#000000',
  },
}
SCSS
$custom: #ccf295;
$custom-light: #ddf6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf295",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 149
  },
  "hsl": {
    "h": 84.516,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9129,
    "c": 0.12556,
    "h": 126.8
  },
  "luminance": 0.78512
}

Semantic roles & 50–950 ramp

primary
#CCF295
secondary
#8B5CCF
accent
#0BDA60
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF295

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

Preview Lab → · Contrast checker → · Palette generator →

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