#CFF771#CFF771

#CFF771 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.1% C 0.167 H 123.5°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#CFF771
RGBrgb(207, 247, 113)
HSLhsl(78, 89%, 71%)
HSVhsv(78, 54%, 97%)
CMYKcmyk(16.2%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.12, -32.47, 59.26)
CIE-LCHlch(92.12, 67.57, 118.72°)
OKLaboklab(92.09% -0.0921 0.139)
OKLCHoklch(92.09% 0.167 123.5)
XYZxyz(61.9738, 80.9789, 27.9851)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF771 #9971F7
analogous
#F7DC71 #CFF771 #8CF771
triadic
#CFF771 #71CFF7 #F771CF
tetradic
#CFF771 #71F7DC #9971F7 #F7718C
square
#CFF771 #71F7DC #9971F7 #F7718C
split-complementary
#CFF771 #718CF7 #DC71F7
monochromatic
#A2E10D #BBF437 #CFF771 #E3FAAB #F5FDE2

Accessibility & contrast

On white

1.22
#CFF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#CFF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF771
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF771#FFFFFF#000000##000000
##CFF7711.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#D7ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cff771;
/* rgb */ color: rgb(207, 247, 113);
/* oklch */ color: oklch(92.1% 0.167 123.5);
Tailwind
colors: {
  custom: {
    50: '#e0fa9d',
    500: '#cff771',
    950: '#000000',
  },
}
SCSS
$custom: #cff771;
$custom-light: #e0fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cff771",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 77.91,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92089,
    "c": 0.16675,
    "h": 123.5
  },
  "luminance": 0.80979
}

Semantic roles & 50–950 ramp

primary
#CFF771
secondary
#683AD2
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF771

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

Preview Lab → · Contrast checker → · Palette generator →

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