#CFE286#CFE286

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

Color values

HEX#CFE286
RGBrgb(207, 226, 134)
HSLhsl(72, 61%, 71%)
HSVhsv(72, 41%, 89%)
CMYKcmyk(8.4%, 0%, 40.7%, 11.4%)
CIE-LABlab(86.69, -20.42, 42.81)
CIE-LCHlch(86.69, 47.43, 115.50°)
OKLaboklab(87.81% -0.0564 0.1042)
OKLCHoklch(87.81% 0.119 118.4)
XYZxyz(57.2318, 69.3797, 32.9262)
Luminance0.6938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE286 #9986E2
analogous
#E2C786 #CFE286 #A1E286
triadic
#CFE286 #86CFE2 #E286CF
tetradic
#CFE286 #86E2C7 #9986E2 #E286A1
square
#CFE286 #86E2C7 #9986E2 #E286A1
split-complementary
#CFE286 #86A1E2 #C786E2
monochromatic
#A2C02E #BBD655 #CFE286 #E3EEB7 #F5F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE286#FFFFFF#000000##000000
##CFE2861.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)
#EDD97F
Deuteranopia (green-blind)
#EBDA8B
Tritanopia (blue-blind)
#D7D9CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe286;
/* rgb */ color: rgb(207, 226, 134);
/* oklch */ color: oklch(87.8% 0.118 118.4);
Tailwind
colors: {
  custom: {
    50: '#dfebaa',
    500: '#cfe286',
    950: '#000000',
  },
}
SCSS
$custom: #cfe286;
$custom-light: #dfebaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe286",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 72.391,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87812,
    "c": 0.1185,
    "h": 118.4
  },
  "luminance": 0.69379
}

Semantic roles & 50–950 ramp

primary
#CFE286
secondary
#6852BA
accent
#1CC940
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFE286

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

Preview Lab → · Contrast checker → · Palette generator →

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