#CFF871#CFF871

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

Color values

HEX#CFF871
RGBrgb(207, 248, 113)
HSLhsl(78, 91%, 71%)
HSVhsv(78, 54%, 97%)
CMYKcmyk(16.5%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.39, -32.93, 59.57)
CIE-LCHlch(92.39, 68.07, 118.94°)
OKLaboklab(92.31% -0.0933 0.1397)
OKLCHoklch(92.31% 0.168 123.8)
XYZxyz(62.2804, 81.5921, 28.0873)
Luminance0.8159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF871 #9A71F8
analogous
#F8DD71 #CFF871 #8BF871
triadic
#CFF871 #71CFF8 #F871CF
tetradic
#CFF871 #71F8DD #9A71F8 #F8718B
square
#CFF871 #71F8DD #9A71F8 #F8718B
split-complementary
#CFF871 #718BF8 #DD71F8
monochromatic
#A2E30B #BBF537 #CFF871 #E3FBAB #F5FEE2

Accessibility & contrast

On white

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

On black

17.32
#CFF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF871
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF871#FFFFFF#000000##000000
##CFF8711.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cff871;
/* rgb */ color: rgb(207, 248, 113);
/* oklch */ color: oklch(92.3% 0.168 123.8);
Tailwind
colors: {
  custom: {
    50: '#e0fa9d',
    500: '#cff871',
    950: '#000000',
  },
}
SCSS
$custom: #cff871;
$custom-light: #e0fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cff871",
  "rgb": {
    "r": 207,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 78.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92308,
    "c": 0.16802,
    "h": 123.8
  },
  "luminance": 0.81592
}

Semantic roles & 50–950 ramp

primary
#CFF871
secondary
#693AD3
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF871

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

Preview Lab → · Contrast checker → · Palette generator →

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