#CFF998#CFF998

#CFF998 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.1% C 0.131 H 127.8°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#CFF998
RGBrgb(207, 249, 152)
HSLhsl(86, 89%, 79%)
HSVhsv(86, 39%, 98%)
CMYKcmyk(16.9%, 0%, 39%, 2.4%)
CIE-LABlab(93.14, -29.29, 42.19)
CIE-LCHlch(93.14, 51.36, 124.77°)
OKLaboklab(93.06% -0.0804 0.1036)
OKLCHoklch(93.06% 0.131 127.8)
XYZxyz(65.2746, 83.2830, 42.3360)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF998 #C298F9
analogous
#F9F298 #CFF998 #9EF998
triadic
#CFF998 #98CFF9 #F998CF
tetradic
#CFF998 #98F9F2 #C298F9 #F9989E
square
#CFF998 #98F9F2 #C298F9 #F9989E
split-complementary
#CFF998 #989EF9 #F298F9
monochromatic
#99F224 #B4F65E #CFF998 #EAFCD2 #F2FDE2

Accessibility & contrast

On white

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

On black

17.66
#CFF998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF998
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF998#FFFFFF#000000##000000
##CFF9981.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FCEA9D
Tritanopia (blue-blind)
#D3F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cff998;
/* rgb */ color: rgb(207, 249, 152);
/* oklch */ color: oklch(93.1% 0.131 127.8);
Tailwind
colors: {
  custom: {
    50: '#dffbb7',
    500: '#cff998',
    950: '#000000',
  },
}
SCSS
$custom: #cff998;
$custom-light: #dffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cff998",
  "rgb": {
    "r": 207,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 85.979,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93059,
    "c": 0.13111,
    "h": 127.8
  },
  "luminance": 0.83284
}

Semantic roles & 50–950 ramp

primary
#CFF998
secondary
#925CD9
accent
#00E663
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF998

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

Preview Lab → · Contrast checker → · Palette generator →

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