#CFF98C#CFF98C

#CFF98C is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.9% C 0.144 H 126.3°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#CFF98C
RGBrgb(207, 249, 140)
HSLhsl(83, 90%, 76%)
HSVhsv(83, 44%, 98%)
CMYKcmyk(16.9%, 0%, 43.8%, 2.4%)
CIE-LABlab(92.97, -30.70, 47.80)
CIE-LCHlch(92.97, 56.81, 122.71°)
OKLaboklab(92.88% -0.085 0.1158)
OKLCHoklch(92.88% 0.144 126.3)
XYZxyz(64.3410, 82.9096, 37.4193)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF98C #B68CF9
analogous
#F9ED8C #CFF98C #99F98C
triadic
#CFF98C #8CCFF9 #F98CCF
tetradic
#CFF98C #8CF9ED #B68CF9 #F98C99
square
#CFF98C #8CF9ED #B68CF9 #F98C99
split-complementary
#CFF98C #8C99F9 #ED8CF9
monochromatic
#9EF318 #B7F652 #CFF98C #E7FCC6 #F3FDE2

Accessibility & contrast

On white

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

On black

17.58
#CFF98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF98C
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF98C#FFFFFF#000000##000000
##CFF98C1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC83
Deuteranopia (green-blind)
#FDEA92
Tritanopia (blue-blind)
#D5F0DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cff98c;
/* rgb */ color: rgb(207, 249, 140);
/* oklch */ color: oklch(92.9% 0.144 126.3);
Tailwind
colors: {
  custom: {
    50: '#dffbaf',
    500: '#cff98c',
    950: '#000000',
  },
}
SCSS
$custom: #cff98c;
$custom-light: #dffbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cff98c",
  "rgb": {
    "r": 207,
    "g": 249,
    "b": 140
  },
  "hsl": {
    "h": 83.119,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92875,
    "c": 0.14361,
    "h": 126.3
  },
  "luminance": 0.8291
}

Semantic roles & 50–950 ramp

primary
#CFF98C
secondary
#8552D8
accent
#00E658
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFF98C

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

Preview Lab → · Contrast checker → · Palette generator →

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