#CFF987#CFF987

#CFF987 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.149 H 125.8°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#CFF987
RGBrgb(207, 249, 135)
HSLhsl(82, 90%, 75%)
HSVhsv(82, 46%, 98%)
CMYKcmyk(16.9%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.91, -31.25, 50.10)
CIE-LCHlch(92.91, 59.04, 121.95°)
OKLaboklab(92.8% -0.0869 0.1206)
OKLCHoklch(92.8% 0.149 125.8)
XYZxyz(63.9807, 82.7654, 35.5216)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF987 #B187F9
analogous
#F9EA87 #CFF987 #96F987
triadic
#CFF987 #87CFF9 #F987CF
tetradic
#CFF987 #87F9EA #B187F9 #F98796
square
#CFF987 #87F9EA #B187F9 #F98796
split-complementary
#CFF987 #8796F9 #EA87F9
monochromatic
#A0F312 #B8F64D #CFF987 #E6FCC1 #F3FEE2

Accessibility & contrast

On white

1.20
#CFF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#CFF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF987
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF987#FFFFFF#000000##000000
##CFF9871.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FEEA8D
Tritanopia (blue-blind)
#D5F0DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cff987;
/* rgb */ color: rgb(207, 249, 135);
/* oklch */ color: oklch(92.8% 0.149 125.8);
Tailwind
colors: {
  custom: {
    50: '#dffbac',
    500: '#cff987',
    950: '#000000',
  },
}
SCSS
$custom: #cff987;
$custom-light: #dffbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cff987",
  "rgb": {
    "r": 207,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 82.105,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92803,
    "c": 0.14866,
    "h": 125.8
  },
  "luminance": 0.82766
}

Semantic roles & 50–950 ramp

primary
#CFF987
secondary
#804DD7
accent
#00E655
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFF987

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

Preview Lab → · Contrast checker → · Palette generator →

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