#CCF793#CCF793

#CCF793 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.135 H 127.8°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CCF793
RGBrgb(204, 247, 147)
HSLhsl(86, 86%, 77%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(17.4%, 0%, 40.5%, 3.1%)
CIE-LABlab(92.34, -30.04, 43.57)
CIE-LCHlch(92.34, 52.92, 124.58°)
OKLaboklab(92.35% -0.0826 0.1065)
OKLCHoklch(92.35% 0.135 127.8)
XYZxyz(63.4284, 81.4647, 39.9807)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF793 #BE93F7
analogous
#F7F093 #CCF793 #9AF793
triadic
#CCF793 #93CCF7 #F793CC
tetradic
#CCF793 #93F7F0 #BE93F7 #F7939A
square
#CCF793 #93F7F0 #BE93F7 #F7939A
split-complementary
#CCF793 #939AF7 #F093F7
monochromatic
#96EF21 #B1F35A #CCF793 #E7FBCC #F2FDE3

Accessibility & contrast

On white

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

On black

17.29
#CCF793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF793
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF793#FFFFFF#000000##000000
##CCF7931.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8B
Deuteranopia (green-blind)
#FAE898
Tritanopia (blue-blind)
#D1EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf793;
/* rgb */ color: rgb(204, 247, 147);
/* oklch */ color: oklch(92.3% 0.135 127.8);
Tailwind
colors: {
  custom: {
    50: '#ddfab4',
    500: '#ccf793',
    950: '#000000',
  },
}
SCSS
$custom: #ccf793;
$custom-light: #ddfab4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf793",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 147
  },
  "hsl": {
    "h": 85.8,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92345,
    "c": 0.13484,
    "h": 127.8
  },
  "luminance": 0.81465
}

Semantic roles & 50–950 ramp

primary
#CCF793
secondary
#8E58D6
accent
#03E363
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF793

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

Preview Lab → · Contrast checker → · Palette generator →

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