#CFFA97#CFFA97

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

Color values

HEX#CFFA97
RGBrgb(207, 250, 151)
HSLhsl(86, 91%, 79%)
HSVhsv(86, 40%, 98%)
CMYKcmyk(17.2%, 0%, 39.6%, 2%)
CIE-LABlab(93.39, -29.88, 43.01)
CIE-LCHlch(93.39, 52.37, 124.79°)
OKLaboklab(93.26% -0.0821 0.1054)
OKLCHoklch(93.26% 0.134 127.9)
XYZxyz(65.5029, 83.8702, 42.0098)
Luminance0.8387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFA97 #C297FA
analogous
#FAF497 #CFFA97 #9DFA97
triadic
#CFFA97 #97CFFA #FA97CF
tetradic
#CFFA97 #97FAF4 #C297FA #FA979D
square
#CFFA97 #97FAF4 #C297FA #FA979D
split-complementary
#CFFA97 #979DFA #F497FA
monochromatic
#99F422 #B4F75D #CFFA97 #EAFDD1 #F2FEE2

Accessibility & contrast

On white

1.18
#CFFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#CFFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFA97
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFA97#FFFFFF#000000##000000
##CFFA971.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#D3F2E2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cffa97;
/* rgb */ color: rgb(207, 250, 151);
/* oklch */ color: oklch(93.3% 0.134 127.9);
Tailwind
colors: {
  custom: {
    50: '#dffcb7',
    500: '#cffa97',
    950: '#000000',
  },
}
SCSS
$custom: #cffa97;
$custom-light: #dffcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cffa97",
  "rgb": {
    "r": 207,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 86.061,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9326,
    "c": 0.1336,
    "h": 127.9
  },
  "luminance": 0.83871
}

Semantic roles & 50–950 ramp

primary
#CFFA97
secondary
#925BDA
accent
#00E664
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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