#CFE987#CFE987

#CFE987 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.3% C 0.127 H 121.2°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#CFE987
RGBrgb(207, 233, 135)
HSLhsl(76, 69%, 72%)
HSVhsv(76, 42%, 91%)
CMYKcmyk(11.2%, 0%, 42.1%, 8.6%)
CIE-LABlab(88.59, -23.70, 44.71)
CIE-LCHlch(88.59, 50.60, 117.92°)
OKLaboklab(89.33% -0.0657 0.1085)
OKLCHoklch(89.33% 0.127 121.2)
XYZxyz(59.2443, 73.2925, 33.9428)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE987 #A187E9
analogous
#E9D287 #CFE987 #9EE987
triadic
#CFE987 #87CFE9 #E987CF
tetradic
#CFE987 #87E9D2 #A187E9 #E9879E
square
#CFE987 #87E9D2 #A187E9 #E9879E
split-complementary
#CFE987 #879EE9 #D287E9
monochromatic
#A3D026 #BAE053 #CFE987 #E4F2BB #F5FAE5

Accessibility & contrast

On white

1.34
#CFE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#CFE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE987
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE987#FFFFFF#000000##000000
##CFE9871.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F0DF8C
Tritanopia (blue-blind)
#D7E0D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe987;
/* rgb */ color: rgb(207, 233, 135);
/* oklch */ color: oklch(89.3% 0.127 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff0ab',
    500: '#cfe987',
    950: '#000000',
  },
}
SCSS
$custom: #cfe987;
$custom-light: #dff0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe987",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 75.918,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89333,
    "c": 0.12685,
    "h": 121.2
  },
  "luminance": 0.73292
}

Semantic roles & 50–950 ramp

primary
#CFE987
secondary
#7052C3
accent
#15D147
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE987

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

Preview Lab → · Contrast checker → · Palette generator →

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