#CEF786#CEF786

#CEF786 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.147 H 125.5°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CEF786
RGBrgb(206, 247, 134)
HSLhsl(82, 88%, 75%)
HSVhsv(82, 46%, 97%)
CMYKcmyk(16.6%, 0%, 45.7%, 3.1%)
CIE-LABlab(92.29, -30.79, 49.79)
CIE-LCHlch(92.29, 58.55, 121.73°)
OKLaboklab(92.29% -0.0856 0.1199)
OKLCHoklch(92.29% 0.147 125.5)
XYZxyz(63.0172, 81.3640, 34.9345)
Luminance0.8136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF786 #AF86F7
analogous
#F7E886 #CEF786 #96F786
triadic
#CEF786 #86CEF7 #F786CE
tetradic
#CEF786 #86F7E8 #AF86F7 #F78696
square
#CEF786 #86F7E8 #AF86F7 #F78696
split-complementary
#CEF786 #8696F7 #E886F7
monochromatic
#A0EF13 #B7F34D #CEF786 #E5FBBF #F3FDE2

Accessibility & contrast

On white

1.22
#CEF786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#CEF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF786
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF786#FFFFFF#000000##000000
##CEF7861.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FCE88C
Tritanopia (blue-blind)
#D4EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef786;
/* rgb */ color: rgb(206, 247, 134);
/* oklch */ color: oklch(92.3% 0.147 125.5);
Tailwind
colors: {
  custom: {
    50: '#dffaab',
    500: '#cef786',
    950: '#000000',
  },
}
SCSS
$custom: #cef786;
$custom-light: #dffaab;
$custom-dark: #000000;
JSON
{
  "hex": "#cef786",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 81.77,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92286,
    "c": 0.14734,
    "h": 125.5
  },
  "luminance": 0.81365
}

Semantic roles & 50–950 ramp

primary
#CEF786
secondary
#7E4DD4
accent
#01E454
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF786

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

Preview Lab → · Contrast checker → · Palette generator →

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