#CFF2A8#CFF2A8

#CFF2A8 is a very light, moderate yellow-green. Relative luminance 0.796; OKLCH L 91.8% C 0.103 H 128.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#CFF2A8
RGBrgb(207, 242, 168)
HSLhsl(88, 74%, 80%)
HSVhsv(88, 31%, 95%)
CMYKcmyk(14.5%, 0%, 30.6%, 5.1%)
CIE-LABlab(91.50, -23.88, 32.08)
CIE-LCHlch(91.50, 39.99, 126.66°)
OKLaboklab(91.83% -0.0647 0.0804)
OKLCHoklch(91.83% 0.103 128.8)
XYZxyz(64.5511, 79.5961, 49.0010)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF2A8 #CBA8F2
analogous
#F2F0A8 #CFF2A8 #AAF2A8
triadic
#CFF2A8 #A8CFF2 #F2A8CF
tetradic
#CFF2A8 #A8F2F0 #CBA8F2 #F2A8AA
square
#CFF2A8 #A8F2F0 #CBA8F2 #F2A8AA
split-complementary
#CFF2A8 #A8AAF2 #F0A8F2
monochromatic
#94E23E #B2EA73 #CFF2A8 #ECFADD #F0FBE4

Accessibility & contrast

On white

1.24
#CFF2A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#CFF2A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF2A8
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF2A8#FFFFFF#000000##000000
##CFF2A81.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E8A3
Deuteranopia (green-blind)
#F4E6AC
Tritanopia (blue-blind)
#D2ECDF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cff2a8;
/* rgb */ color: rgb(207, 242, 168);
/* oklch */ color: oklch(91.8% 0.103 128.8);
Tailwind
colors: {
  custom: {
    50: '#def6c2',
    500: '#cff2a8',
    950: '#000000',
  },
}
SCSS
$custom: #cff2a8;
$custom-light: #def6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cff2a8",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 168
  },
  "hsl": {
    "h": 88.378,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.9183,
    "c": 0.10318,
    "h": 128.8
  },
  "luminance": 0.79597
}

Semantic roles & 50–950 ramp

primary
#CFF2A8
secondary
#9C6DD1
accent
#0FD66D
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151712
muted
#848582

Preview Lab

Preview with #CFF2A8

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

Preview Lab → · Contrast checker → · Palette generator →

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