#CFF786#CFF786

#CFF786 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.4% C 0.147 H 125.2°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#CFF786
RGBrgb(207, 247, 134)
HSLhsl(81, 88%, 75%)
HSVhsv(81, 46%, 97%)
CMYKcmyk(16.2%, 0%, 45.7%, 3.1%)
CIE-LABlab(92.36, -30.42, 49.89)
CIE-LCHlch(92.36, 58.43, 121.38°)
OKLaboklab(92.35% -0.0847 0.1201)
OKLCHoklch(92.35% 0.147 125.2)
XYZxyz(63.2958, 81.5077, 34.9476)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF786 #AE86F7
analogous
#F7E786 #CFF786 #97F786
triadic
#CFF786 #86CFF7 #F786CF
tetradic
#CFF786 #86F7E7 #AE86F7 #F78697
square
#CFF786 #86F7E7 #AE86F7 #F78697
split-complementary
#CFF786 #8697F7 #E786F7
monochromatic
#A1EF13 #B8F34D #CFF786 #E6FBBF #F4FDE2

Accessibility & contrast

On white

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

On black

17.30
#CFF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF786
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF786#FFFFFF#000000##000000
##CFF7861.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FCE98C
Tritanopia (blue-blind)
#D6EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cff786;
/* rgb */ color: rgb(207, 247, 134);
/* oklch */ color: oklch(92.4% 0.147 125.2);
Tailwind
colors: {
  custom: {
    50: '#dffaab',
    500: '#cff786',
    950: '#000000',
  },
}
SCSS
$custom: #cff786;
$custom-light: #dffaab;
$custom-dark: #000000;
JSON
{
  "hex": "#cff786",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 81.239,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92354,
    "c": 0.14693,
    "h": 125.2
  },
  "luminance": 0.81508
}

Semantic roles & 50–950 ramp

primary
#CFF786
secondary
#7D4DD4
accent
#01E452
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFF786

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

Preview Lab → · Contrast checker → · Palette generator →

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