#CFF798#CFF798

#CFF798 is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.6% C 0.128 H 127.3°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#CFF798
RGBrgb(207, 247, 152)
HSLhsl(85, 86%, 78%)
HSVhsv(85, 38%, 97%)
CMYKcmyk(16.2%, 0%, 38.5%, 3.1%)
CIE-LABlab(92.60, -28.35, 41.50)
CIE-LCHlch(92.60, 50.26, 124.34°)
OKLaboklab(92.63% -0.0778 0.102)
OKLCHoklch(92.63% 0.128 127.3)
XYZxyz(64.6597, 82.0532, 42.1310)
Luminance0.8205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF798 #C098F7
analogous
#F7EF98 #CFF798 #9FF798
triadic
#CFF798 #98CFF7 #F798CF
tetradic
#CFF798 #98F7EF #C098F7 #F7989F
square
#CFF798 #98F7EF #C098F7 #F7989F
split-complementary
#CFF798 #989FF7 #EF98F7
monochromatic
#9AEE26 #B5F35F #CFF798 #E9FBD1 #F2FDE3

Accessibility & contrast

On white

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

On black

17.41
#CFF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF798
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF798#FFFFFF#000000##000000
##CFF7981.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cff798;
/* rgb */ color: rgb(207, 247, 152);
/* oklch */ color: oklch(92.6% 0.128 127.3);
Tailwind
colors: {
  custom: {
    50: '#dffab7',
    500: '#cff798',
    950: '#000000',
  },
}
SCSS
$custom: #cff798;
$custom-light: #dffab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cff798",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 85.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92626,
    "c": 0.12824,
    "h": 127.3
  },
  "luminance": 0.82054
}

Semantic roles & 50–950 ramp

primary
#CFF798
secondary
#905DD6
accent
#03E261
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF798

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

Preview Lab → · Contrast checker → · Palette generator →

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