#CFFD98#CFFD98

#CFFD98 is a very light, vivid yellow-green. Relative luminance 0.858; OKLCH L 93.9% C 0.137 H 128.7°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#CFFD98
RGBrgb(207, 253, 152)
HSLhsl(87, 96%, 79%)
HSVhsv(87, 40%, 99%)
CMYKcmyk(18.2%, 0%, 39.9%, 0.8%)
CIE-LABlab(94.22, -31.15, 43.58)
CIE-LCHlch(94.22, 53.57, 125.56°)
OKLaboklab(93.93% -0.0856 0.1068)
OKLCHoklch(93.93% 0.137 128.7)
XYZxyz(66.5241, 85.7820, 42.7525)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFD98 #C698FD
analogous
#FDF998 #CFFD98 #9DFD98
triadic
#CFFD98 #98CFFD #FD98CF
tetradic
#CFFD98 #98FDF9 #C698FD #FD989D
square
#CFFD98 #98FDF9 #C698FD #FD989D
split-complementary
#CFFD98 #989DFD #F998FD
monochromatic
#97FB20 #B3FC5C #CFFD98 #EBFED4 #F1FEE1

Accessibility & contrast

On white

1.16
#CFFD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#CFFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFD98
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFD98#FFFFFF#000000##000000
##CFFD981.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF090
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#D3F5E4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cffd98;
/* rgb */ color: rgb(207, 253, 152);
/* oklch */ color: oklch(93.9% 0.137 128.7);
Tailwind
colors: {
  custom: {
    50: '#dffeb7',
    500: '#cffd98',
    950: '#000000',
  },
}
SCSS
$custom: #cffd98;
$custom-light: #dffeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cffd98",
  "rgb": {
    "r": 207,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 87.327,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93928,
    "c": 0.13683,
    "h": 128.7
  },
  "luminance": 0.85783
}

Semantic roles & 50–950 ramp

primary
#CFFD98
secondary
#975ADF
accent
#00E669
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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