#CFEF87#CFEF87

#CFEF87 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.6% C 0.135 H 123.1°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#CFEF87
RGBrgb(207, 239, 135)
HSLhsl(78, 76%, 73%)
HSVhsv(78, 44%, 94%)
CMYKcmyk(13.4%, 0%, 43.5%, 6.3%)
CIE-LABlab(90.21, -26.56, 46.74)
CIE-LCHlch(90.21, 53.76, 119.61°)
OKLaboklab(90.63% -0.0737 0.1131)
OKLCHoklch(90.63% 0.135 123.1)
XYZxyz(60.9717, 76.7475, 34.5186)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF87 #A787EF
analogous
#EFDB87 #CFEF87 #9BEF87
triadic
#CFEF87 #87CFEF #EF87CF
tetradic
#CFEF87 #87EFDB #A787EF #EF879B
square
#CFEF87 #87EFDB #A787EF #EF879B
split-complementary
#CFEF87 #879BEF #DB87EF
monochromatic
#A3DE1E #B9E851 #CFEF87 #E5F6BD #F4FBE4

Accessibility & contrast

On white

1.28
#CFEF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#CFEF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF87
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF87#FFFFFF#000000##000000
##CFEF871.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#F5E38D
Tritanopia (blue-blind)
#D6E6D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cfef87;
/* rgb */ color: rgb(207, 239, 135);
/* oklch */ color: oklch(90.6% 0.135 123.1);
Tailwind
colors: {
  custom: {
    50: '#dff4ab',
    500: '#cfef87',
    950: '#000000',
  },
}
SCSS
$custom: #cfef87;
$custom-light: #dff4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef87",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 78.462,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9063,
    "c": 0.13502,
    "h": 123.1
  },
  "luminance": 0.76748
}

Semantic roles & 50–950 ramp

primary
#CFEF87
secondary
#7650CA
accent
#0DD94C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFEF87

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

Preview Lab → · Contrast checker → · Palette generator →

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