#CEF586#CEF586

#CEF586 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.8% C 0.145 H 125.0°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#CEF586
RGBrgb(206, 245, 134)
HSLhsl(81, 85%, 74%)
HSVhsv(81, 45%, 96%)
CMYKcmyk(15.9%, 0%, 45.3%, 3.9%)
CIE-LABlab(91.75, -29.86, 49.12)
CIE-LCHlch(91.75, 57.49, 121.29°)
OKLaboklab(91.85% -0.083 0.1184)
OKLCHoklch(91.85% 0.145 125)
XYZxyz(62.4089, 80.1474, 34.7317)
Luminance0.8015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF586 #AD86F5
analogous
#F5E586 #CEF586 #97F586
triadic
#CEF586 #86CEF5 #F586CE
tetradic
#CEF586 #86F5E5 #AD86F5 #F58697
square
#CEF586 #86F5E5 #AD86F5 #F58697
split-complementary
#CEF586 #8697F5 #E586F5
monochromatic
#A0EC15 #B7F04D #CEF586 #E5FABF #F4FDE3

Accessibility & contrast

On white

1.23
#CEF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#CEF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF586
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF586#FFFFFF#000000##000000
##CEF5861.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FAE78C
Tritanopia (blue-blind)
#D5ECDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cef586;
/* rgb */ color: rgb(206, 245, 134);
/* oklch */ color: oklch(91.8% 0.145 125.0);
Tailwind
colors: {
  custom: {
    50: '#def8ab',
    500: '#cef586',
    950: '#000000',
  },
}
SCSS
$custom: #cef586;
$custom-light: #def8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cef586",
  "rgb": {
    "r": 206,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 81.081,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9185,
    "c": 0.14461,
    "h": 125
  },
  "luminance": 0.80148
}

Semantic roles & 50–950 ramp

primary
#CEF586
secondary
#7C4ED2
accent
#04E152
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF586

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

Preview Lab → · Contrast checker → · Palette generator →

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