#CFF796#CFF796

#CFF796 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.6% C 0.130 H 127.0°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#CFF796
RGBrgb(207, 247, 150)
HSLhsl(85, 86%, 78%)
HSVhsv(85, 39%, 97%)
CMYKcmyk(16.2%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.57, -28.60, 42.44)
CIE-LCHlch(92.57, 51.18, 123.97°)
OKLaboklab(92.59% -0.0785 0.1041)
OKLCHoklch(92.59% 0.13 127)
XYZxyz(64.4973, 81.9883, 41.2756)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF796 #BE96F7
analogous
#F7EE96 #CFF796 #9EF796
triadic
#CFF796 #96CFF7 #F796CF
tetradic
#CFF796 #96F7EE #BE96F7 #F7969E
square
#CFF796 #96F7EE #BE96F7 #F7969E
split-complementary
#CFF796 #969EF7 #EE96F7
monochromatic
#9BEE24 #B5F35D #CFF796 #E9FBCF #F2FDE3

Accessibility & contrast

On white

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

On black

17.40
#CFF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF796
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF796#FFFFFF#000000##000000
##CFF7961.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#D4EFDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cff796;
/* rgb */ color: rgb(207, 247, 150);
/* oklch */ color: oklch(92.6% 0.130 127.0);
Tailwind
colors: {
  custom: {
    50: '#dffab6',
    500: '#cff796',
    950: '#000000',
  },
}
SCSS
$custom: #cff796;
$custom-light: #dffab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cff796",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 84.742,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92594,
    "c": 0.13038,
    "h": 127
  },
  "luminance": 0.81989
}

Semantic roles & 50–950 ramp

primary
#CFF796
secondary
#8E5BD6
accent
#03E25F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF796

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

Preview Lab → · Contrast checker → · Palette generator →

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