#CCF794#CCF794

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

Color values

HEX#CCF794
RGBrgb(204, 247, 148)
HSLhsl(86, 86%, 77%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(17.4%, 0%, 40.1%, 3.1%)
CIE-LABlab(92.35, -29.92, 43.10)
CIE-LCHlch(92.35, 52.47, 124.76°)
OKLaboklab(92.36% -0.0823 0.1055)
OKLCHoklch(92.36% 0.134 127.9)
XYZxyz(63.5072, 81.4962, 40.3958)
Luminance0.8150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF794 #BF94F7
analogous
#F7F194 #CCF794 #9AF794
triadic
#CCF794 #94CCF7 #F794CC
tetradic
#CCF794 #94F7F1 #BF94F7 #F7949A
square
#CCF794 #94F7F1 #BF94F7 #F7949A
split-complementary
#CCF794 #949AF7 #F194F7
monochromatic
#96EE22 #B1F35B #CCF794 #E7FBCD #F1FDE3

Accessibility & contrast

On white

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

On black

17.30
#CCF794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF794
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF794#FFFFFF#000000##000000
##CCF7941.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf794;
/* rgb */ color: rgb(204, 247, 148);
/* oklch */ color: oklch(92.4% 0.134 127.9);
Tailwind
colors: {
  custom: {
    50: '#ddfab4',
    500: '#ccf794',
    950: '#000000',
  },
}
SCSS
$custom: #ccf794;
$custom-light: #ddfab4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf794",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 148
  },
  "hsl": {
    "h": 86.061,
    "s": 86.087,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92361,
    "c": 0.13379,
    "h": 127.9
  },
  "luminance": 0.81497
}

Semantic roles & 50–950 ramp

primary
#CCF794
secondary
#8F59D6
accent
#03E364
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF794

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

Preview Lab → · Contrast checker → · Palette generator →

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