#CFF997#CFF997

#CFF997 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.0% C 0.132 H 127.7°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#CFF997
RGBrgb(207, 249, 151)
HSLhsl(86, 89%, 78%)
HSVhsv(86, 39%, 98%)
CMYKcmyk(16.9%, 0%, 39.4%, 2.4%)
CIE-LABlab(93.12, -29.41, 42.66)
CIE-LCHlch(93.12, 51.82, 124.58°)
OKLaboklab(93.04% -0.0808 0.1046)
OKLCHoklch(93.04% 0.132 127.7)
XYZxyz(65.1930, 83.2504, 41.9065)
Luminance0.8325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF997 #C197F9
analogous
#F9F297 #CFF997 #9EF997
triadic
#CFF997 #97CFF9 #F997CF
tetradic
#CFF997 #97F9F2 #C197F9 #F9979E
square
#CFF997 #97F9F2 #C197F9 #F9979E
split-complementary
#CFF997 #979EF9 #F297F9
monochromatic
#9AF223 #B4F65D #CFF997 #EAFCD1 #F2FDE2

Accessibility & contrast

On white

1.19
#CFF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#CFF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF997
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF997#FFFFFF#000000##000000
##CFF9971.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FCEA9C
Tritanopia (blue-blind)
#D4F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cff997;
/* rgb */ color: rgb(207, 249, 151);
/* oklch */ color: oklch(93.0% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#dffbb7',
    500: '#cff997',
    950: '#000000',
  },
}
SCSS
$custom: #cff997;
$custom-light: #dffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cff997",
  "rgb": {
    "r": 207,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 85.714,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93043,
    "c": 0.13217,
    "h": 127.7
  },
  "luminance": 0.83251
}

Semantic roles & 50–950 ramp

primary
#CFF997
secondary
#915BD9
accent
#00E662
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF997

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

Preview Lab → · Contrast checker → · Palette generator →

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