#CCF795#CCF795

#CCF795 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.4% C 0.133 H 128.1°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#CCF795
RGBrgb(204, 247, 149)
HSLhsl(86, 86%, 78%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(17.4%, 0%, 39.7%, 3.1%)
CIE-LABlab(92.37, -29.80, 42.63)
CIE-LCHlch(92.37, 52.01, 124.95°)
OKLaboklab(92.38% -0.0819 0.1045)
OKLCHoklch(92.38% 0.133 128.1)
XYZxyz(63.5867, 81.5280, 40.8144)
Luminance0.8153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF795 #C095F7
analogous
#F7F195 #CCF795 #9BF795
triadic
#CCF795 #95CCF7 #F795CC
tetradic
#CCF795 #95F7F1 #C095F7 #F7959B
square
#CCF795 #95F7F1 #C095F7 #F7959B
split-complementary
#CCF795 #959BF7 #F195F7
monochromatic
#95EE23 #B1F35C #CCF795 #E7FBCE #F1FDE3

Accessibility & contrast

On white

1.21
#CCF795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#CCF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF795
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF795#FFFFFF#000000##000000
##CCF7951.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8E
Deuteranopia (green-blind)
#FAE89A
Tritanopia (blue-blind)
#D0EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf795;
/* rgb */ color: rgb(204, 247, 149);
/* oklch */ color: oklch(92.4% 0.133 128.1);
Tailwind
colors: {
  custom: {
    50: '#ddfab5',
    500: '#ccf795',
    950: '#000000',
  },
}
SCSS
$custom: #ccf795;
$custom-light: #ddfab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf795",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 86.327,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92377,
    "c": 0.13273,
    "h": 128.1
  },
  "luminance": 0.81529
}

Semantic roles & 50–950 ramp

primary
#CCF795
secondary
#915AD6
accent
#03E265
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF795

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

Preview Lab → · Contrast checker → · Palette generator →

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