#CFF781#CFF781

#CFF781 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.152 H 124.7°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CFF781
RGBrgb(207, 247, 129)
HSLhsl(80, 88%, 74%)
HSVhsv(80, 48%, 97%)
CMYKcmyk(16.2%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.30, -30.95, 52.17)
CIE-LCHlch(92.30, 60.66, 120.68°)
OKLaboklab(92.29% -0.0865 0.1248)
OKLCHoklch(92.29% 0.152 124.7)
XYZxyz(62.9553, 81.3715, 33.1542)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF781 #A981F7
analogous
#F7E481 #CFF781 #94F781
triadic
#CFF781 #81CFF7 #F781CF
tetradic
#CFF781 #81F7E4 #A981F7 #F78194
square
#CFF781 #81F7E4 #A981F7 #F78194
split-complementary
#CFF781 #8194F7 #E481F7
monochromatic
#A3EE0F #B9F347 #CFF781 #E5FBBB #F4FDE2

Accessibility & contrast

On white

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

On black

17.27
#CFF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF781
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF781#FFFFFF#000000##000000
##CFF7811.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FDE888
Tritanopia (blue-blind)
#D6EDDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cff781;
/* rgb */ color: rgb(207, 247, 129);
/* oklch */ color: oklch(92.3% 0.152 124.7);
Tailwind
colors: {
  custom: {
    50: '#dffaa8',
    500: '#cff781',
    950: '#000000',
  },
}
SCSS
$custom: #cff781;
$custom-light: #dffaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cff781",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 80.339,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92285,
    "c": 0.15187,
    "h": 124.7
  },
  "luminance": 0.81372
}

Semantic roles & 50–950 ramp

primary
#CFF781
secondary
#7849D4
accent
#01E54E
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFF781

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

Preview Lab → · Contrast checker → · Palette generator →

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