#CFF878#CFF878

#CFF878 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.4% C 0.162 H 124.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#CFF878
RGBrgb(207, 248, 120)
HSLhsl(79, 90%, 72%)
HSVhsv(79, 52%, 97%)
CMYKcmyk(16.5%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.47, -32.30, 56.52)
CIE-LCHlch(92.47, 65.10, 119.74°)
OKLaboklab(92.39% -0.091 0.1337)
OKLCHoklch(92.39% 0.162 124.2)
XYZxyz(62.6898, 81.7559, 30.2434)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF878 #A178F8
analogous
#F8E178 #CFF878 #8FF878
triadic
#CFF878 #78CFF8 #F878CF
tetradic
#CFF878 #78F8E1 #A178F8 #F8788F
square
#CFF878 #78F8E1 #A178F8 #F8788F
split-complementary
#CFF878 #788FF8 #E178F8
monochromatic
#A3E90C #BAF53E #CFF878 #E4FBB2 #F5FDE2

Accessibility & contrast

On white

1.21
#CFF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#CFF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF878
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF878#FFFFFF#000000##000000
##CFF8781.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#D7EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cff878;
/* rgb */ color: rgb(207, 248, 120);
/* oklch */ color: oklch(92.4% 0.162 124.2);
Tailwind
colors: {
  custom: {
    50: '#e0faa2',
    500: '#cff878',
    950: '#000000',
  },
}
SCSS
$custom: #cff878;
$custom-light: #e0faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cff878",
  "rgb": {
    "r": 207,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 79.219,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9239,
    "c": 0.16171,
    "h": 124.2
  },
  "luminance": 0.81756
}

Semantic roles & 50–950 ramp

primary
#CFF878
secondary
#7040D4
accent
#00E64A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF878

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

Preview Lab → · Contrast checker → · Palette generator →

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