#CFF371#CFF371

#CFF371 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.2% C 0.162 H 122.5°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#CFF371
RGBrgb(207, 243, 113)
HSLhsl(77, 84%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(14.8%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.03, -30.62, 58.00)
CIE-LCHlch(91.03, 65.58, 117.84°)
OKLaboklab(91.21% -0.0869 0.1363)
OKLCHoklch(91.21% 0.162 122.5)
XYZxyz(60.7637, 78.5587, 27.5818)
Luminance0.7856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF371 #9571F3
analogous
#F3D671 #CFF371 #8EF371
triadic
#CFF371 #71CFF3 #F371CF
tetradic
#CFF371 #71F3D6 #9571F3 #F3718E
square
#CFF371 #71F3D6 #9571F3 #F3718E
split-complementary
#CFF371 #718EF3 #D671F3
monochromatic
#A1D712 #BCEE39 #CFF371 #E2F8A9 #F5FDE2

Accessibility & contrast

On white

1.26
#CFF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#CFF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF371
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF371#FFFFFF#000000##000000
##CFF3711.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#D8E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cff371;
/* rgb */ color: rgb(207, 243, 113);
/* oklch */ color: oklch(91.2% 0.162 122.5);
Tailwind
colors: {
  custom: {
    50: '#e0f79d',
    500: '#cff371',
    950: '#000000',
  },
}
SCSS
$custom: #cff371;
$custom-light: #e0f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cff371",
  "rgb": {
    "r": 207,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 76.615,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91213,
    "c": 0.16164,
    "h": 122.5
  },
  "luminance": 0.78559
}

Semantic roles & 50–950 ramp

primary
#CFF371
secondary
#643BCD
accent
#05E142
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF371

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

Preview Lab → · Contrast checker → · Palette generator →

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