#CFF787#CFF787

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

Color values

HEX#CFF787
RGBrgb(207, 247, 135)
HSLhsl(81, 88%, 75%)
HSVhsv(81, 45%, 97%)
CMYKcmyk(16.2%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.37, -30.32, 49.43)
CIE-LCHlch(92.37, 57.99, 121.52°)
OKLaboklab(92.37% -0.0843 0.1191)
OKLCHoklch(92.37% 0.146 125.3)
XYZxyz(63.3658, 81.5357, 35.3166)
Luminance0.8154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF787 #AF87F7
analogous
#F7E787 #CFF787 #97F787
triadic
#CFF787 #87CFF7 #F787CF
tetradic
#CFF787 #87F7E7 #AF87F7 #F78797
square
#CFF787 #87F7E7 #AF87F7 #F78797
split-complementary
#CFF787 #8797F7 #E787F7
monochromatic
#A1EF14 #B8F34E #CFF787 #E6FBC0 #F4FDE2

Accessibility & contrast

On white

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

On black

17.31
#CFF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF787
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF787#FFFFFF#000000##000000
##CFF7871.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#FCE98D
Tritanopia (blue-blind)
#D5EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cff787;
/* rgb */ color: rgb(207, 247, 135);
/* oklch */ color: oklch(92.4% 0.146 125.3);
Tailwind
colors: {
  custom: {
    50: '#dffaac',
    500: '#cff787',
    950: '#000000',
  },
}
SCSS
$custom: #cff787;
$custom-light: #dffaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cff787",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 81.429,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92368,
    "c": 0.14593,
    "h": 125.3
  },
  "luminance": 0.81536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFF787

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

Preview Lab → · Contrast checker → · Palette generator →

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