#CFF870#CFF870

#CFF870 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.3% C 0.169 H 123.7°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#CFF870
RGBrgb(207, 248, 112)
HSLhsl(78, 91%, 71%)
HSVhsv(78, 55%, 97%)
CMYKcmyk(16.5%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.38, -33.02, 60.00)
CIE-LCHlch(92.38, 68.49, 118.83°)
OKLaboklab(92.3% -0.0937 0.1405)
OKLCHoklch(92.3% 0.169 123.7)
XYZxyz(62.2244, 81.5697, 27.7925)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF870 #9970F8
analogous
#F8DD70 #CFF870 #8BF870
triadic
#CFF870 #70CFF8 #F870CF
tetradic
#CFF870 #70F8DD #9970F8 #F8708B
square
#CFF870 #70F8DD #9970F8 #F8708B
split-complementary
#CFF870 #708BF8 #DD70F8
monochromatic
#A2E30B #BBF536 #CFF870 #E3FBAA #F5FEE2

Accessibility & contrast

On white

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

On black

17.31
#CFF870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF870
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF870#FFFFFF#000000##000000
##CFF8701.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#D7EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cff870;
/* rgb */ color: rgb(207, 248, 112);
/* oklch */ color: oklch(92.3% 0.169 123.7);
Tailwind
colors: {
  custom: {
    50: '#e0fa9d',
    500: '#cff870',
    950: '#000000',
  },
}
SCSS
$custom: #cff870;
$custom-light: #e0fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cff870",
  "rgb": {
    "r": 207,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 78.088,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92297,
    "c": 0.1689,
    "h": 123.7
  },
  "luminance": 0.8157
}

Semantic roles & 50–950 ramp

primary
#CFF870
secondary
#6839D3
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #CFF870

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

Preview Lab → · Contrast checker → · Palette generator →

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