#CFF271#CFF271

#CFF271 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.0% C 0.160 H 122.3°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#CFF271
RGBrgb(207, 242, 113)
HSLhsl(76, 83%, 70%)
HSVhsv(76, 53%, 95%)
CMYKcmyk(14.5%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.76, -30.16, 57.68)
CIE-LCHlch(90.76, 65.09, 117.60°)
OKLaboklab(90.99% -0.0856 0.1356)
OKLCHoklch(90.99% 0.16 122.3)
XYZxyz(60.4653, 77.9618, 27.4823)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF271 #9471F2
analogous
#F2D571 #CFF271 #8FF271
triadic
#CFF271 #71CFF2 #F271CF
tetradic
#CFF271 #71F2D5 #9471F2 #F2718F
square
#CFF271 #71F2D5 #9471F2 #F2718F
split-complementary
#CFF271 #718FF2 #D571F2
monochromatic
#A1D514 #BCED39 #CFF271 #E2F7A9 #F5FCE1

Accessibility & contrast

On white

1.27
#CFF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#CFF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF271
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF271#FFFFFF#000000##000000
##CFF2711.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE564
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#D8E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cff271;
/* rgb */ color: rgb(207, 242, 113);
/* oklch */ color: oklch(91.0% 0.160 122.3);
Tailwind
colors: {
  custom: {
    50: '#e0f69d',
    500: '#cff271',
    950: '#000000',
  },
}
SCSS
$custom: #cff271;
$custom-light: #e0f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cff271",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 76.279,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90994,
    "c": 0.16037,
    "h": 122.3
  },
  "luminance": 0.77962
}

Semantic roles & 50–950 ramp

primary
#CFF271
secondary
#633CCB
accent
#06E041
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF271

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

Preview Lab → · Contrast checker → · Palette generator →

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