#CFF898#CFF898

#CFF898 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.130 H 127.6°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CFF898
RGBrgb(207, 248, 152)
HSLhsl(86, 87%, 78%)
HSVhsv(86, 39%, 97%)
CMYKcmyk(16.5%, 0%, 38.7%, 2.7%)
CIE-LABlab(92.87, -28.82, 41.85)
CIE-LCHlch(92.87, 50.81, 124.56°)
OKLaboklab(92.84% -0.0791 0.1028)
OKLCHoklch(92.84% 0.13 127.6)
XYZxyz(64.9663, 82.6665, 42.2332)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF898 #C198F8
analogous
#F8F198 #CFF898 #9FF898
triadic
#CFF898 #98CFF8 #F898CF
tetradic
#CFF898 #98F8F1 #C198F8 #F8989F
square
#CFF898 #98F8F1 #C198F8 #F8989F
split-complementary
#CFF898 #989FF8 #F198F8
monochromatic
#9AF025 #B4F45F #CFF898 #EAFCD1 #F2FDE2

Accessibility & contrast

On white

1.20
#CFF898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#CFF898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF898
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF898#FFFFFF#000000##000000
##CFF8981.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC91
Deuteranopia (green-blind)
#FBEA9D
Tritanopia (blue-blind)
#D4F0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cff898;
/* rgb */ color: rgb(207, 248, 152);
/* oklch */ color: oklch(92.8% 0.130 127.6);
Tailwind
colors: {
  custom: {
    50: '#dffab7',
    500: '#cff898',
    950: '#000000',
  },
}
SCSS
$custom: #cff898;
$custom-light: #dffab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cff898",
  "rgb": {
    "r": 207,
    "g": 248,
    "b": 152
  },
  "hsl": {
    "h": 85.625,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92843,
    "c": 0.12967,
    "h": 127.6
  },
  "luminance": 0.82667
}

Semantic roles & 50–950 ramp

primary
#CFF898
secondary
#915CD8
accent
#02E462
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFF898

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

Preview Lab → · Contrast checker → · Palette generator →

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