#CFE287#CFE287

#CFE287 is a very light, moderate yellow-green. Relative luminance 0.694; OKLCH L 87.8% C 0.117 H 118.5°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#CFE287
RGBrgb(207, 226, 135)
HSLhsl(73, 61%, 71%)
HSVhsv(73, 40%, 89%)
CMYKcmyk(8.4%, 0%, 40.3%, 11.4%)
CIE-LABlab(86.71, -20.31, 42.34)
CIE-LCHlch(86.71, 46.95, 115.62°)
OKLaboklab(87.83% -0.0561 0.1032)
OKLCHoklch(87.83% 0.117 118.5)
XYZxyz(57.3018, 69.4077, 33.2953)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE287 #9A87E2
analogous
#E2C787 #CFE287 #A1E287
triadic
#CFE287 #87CFE2 #E287CF
tetradic
#CFE287 #87E2C7 #9A87E2 #E287A1
square
#CFE287 #87E2C7 #9A87E2 #E287A1
split-complementary
#CFE287 #87A1E2 #C787E2
monochromatic
#A2C02E #BBD656 #CFE287 #E3EEB8 #F5F9E6

Accessibility & contrast

On white

1.41
#CFE287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#CFE287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE287
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE287#FFFFFF#000000##000000
##CFE2871.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD980
Deuteranopia (green-blind)
#EBDA8B
Tritanopia (blue-blind)
#D7D9CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe287;
/* rgb */ color: rgb(207, 226, 135);
/* oklch */ color: oklch(87.8% 0.117 118.5);
Tailwind
colors: {
  custom: {
    50: '#dfebab',
    500: '#cfe287',
    950: '#000000',
  },
}
SCSS
$custom: #cfe287;
$custom-light: #dfebab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe287",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 135
  },
  "hsl": {
    "h": 72.527,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87828,
    "c": 0.11741,
    "h": 118.5
  },
  "luminance": 0.69407
}

Semantic roles & 50–950 ramp

primary
#CFE287
secondary
#6953BA
accent
#1DC941
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFE287

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

Preview Lab → · Contrast checker → · Palette generator →

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