#CFF797#CFF797

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

Color values

HEX#CFF797
RGBrgb(207, 247, 151)
HSLhsl(85, 86%, 78%)
HSVhsv(85, 39%, 97%)
CMYKcmyk(16.2%, 0%, 38.9%, 3.1%)
CIE-LABlab(92.58, -28.47, 41.97)
CIE-LCHlch(92.58, 50.72, 124.15°)
OKLaboklab(92.61% -0.0782 0.103)
OKLCHoklch(92.61% 0.129 127.2)
XYZxyz(64.5782, 82.0206, 41.7015)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF797 #BF97F7
analogous
#F7EF97 #CFF797 #9FF797
triadic
#CFF797 #97CFF7 #F797CF
tetradic
#CFF797 #97F7EF #BF97F7 #F7979F
square
#CFF797 #97F7EF #BF97F7 #F7979F
split-complementary
#CFF797 #979FF7 #EF97F7
monochromatic
#9BEE25 #B5F35E #CFF797 #E9FBD0 #F2FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFF797#FFFFFF#000000##000000
##CFF7971.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)
#FFEB90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#D4EFDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cff797;
/* rgb */ color: rgb(207, 247, 151);
/* oklch */ color: oklch(92.6% 0.129 127.2);
Tailwind
colors: {
  custom: {
    50: '#dffab7',
    500: '#cff797',
    950: '#000000',
  },
}
SCSS
$custom: #cff797;
$custom-light: #dffab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cff797",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 85,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9261,
    "c": 0.12931,
    "h": 127.2
  },
  "luminance": 0.82021
}

Semantic roles & 50–950 ramp

primary
#CFF797
secondary
#8F5CD6
accent
#03E260
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF797

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

Preview Lab → · Contrast checker → · Palette generator →

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