#CFE786#CFE786

#CFE786 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.9% C 0.125 H 120.4°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#CFE786
RGBrgb(207, 231, 134)
HSLhsl(75, 67%, 72%)
HSVhsv(75, 42%, 91%)
CMYKcmyk(10.4%, 0%, 42%, 9.4%)
CIE-LABlab(88.04, -22.84, 44.51)
CIE-LCHlch(88.04, 50.03, 117.17°)
OKLaboklab(88.89% -0.0633 0.108)
OKLCHoklch(88.89% 0.125 120.4)
XYZxyz(58.6112, 72.1386, 33.3860)
Luminance0.7214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE786 #9E86E7
analogous
#E7CF86 #CFE786 #9FE786
triadic
#CFE786 #86CFE7 #E786CF
tetradic
#CFE786 #86E7CF #9E86E7 #E7869F
square
#CFE786 #86E7CF #9E86E7 #E7869F
split-complementary
#CFE786 #869FE7 #CF86E7
monochromatic
#A2CA28 #BBDD53 #CFE786 #E3F1B9 #F5FAE5

Accessibility & contrast

On white

1.36
#CFE786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#CFE786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE786
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE786#FFFFFF#000000##000000
##CFE7861.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7E
Deuteranopia (green-blind)
#EFDD8B
Tritanopia (blue-blind)
#D7DED0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe786;
/* rgb */ color: rgb(207, 231, 134);
/* oklch */ color: oklch(88.9% 0.125 120.4);
Tailwind
colors: {
  custom: {
    50: '#dfeeab',
    500: '#cfe786',
    950: '#000000',
  },
}
SCSS
$custom: #cfe786;
$custom-light: #dfeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe786",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 74.845,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88887,
    "c": 0.12521,
    "h": 120.4
  },
  "luminance": 0.72138
}

Semantic roles & 50–950 ramp

primary
#CFE786
secondary
#6D51C0
accent
#17CF44
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE786

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

Preview Lab → · Contrast checker → · Palette generator →

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