#CEF86C#CEF86C

#CEF86C is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.173 H 123.8°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CEF86C
RGBrgb(206, 248, 108)
HSLhsl(78, 91%, 70%)
HSVhsv(78, 56%, 97%)
CMYKcmyk(16.9%, 0%, 56.5%, 2.7%)
CIE-LABlab(92.28, -33.74, 61.62)
CIE-LCHlch(92.28, 70.25, 118.70°)
OKLaboklab(92.18% -0.096 0.1436)
OKLCHoklch(92.18% 0.173 123.8)
XYZxyz(61.7281, 81.3390, 26.6324)
Luminance0.8134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF86C #966CF8
analogous
#F8DC6C #CEF86C #88F86C
triadic
#CEF86C #6CCEF8 #F86CCE
tetradic
#CEF86C #6CF8DC #966CF8 #F86C88
square
#CEF86C #6CF8DC #966CF8 #F86C88
split-complementary
#CEF86C #6C88F8 #DC6CF8
monochromatic
#9FDF0B #BBF532 #CEF86C #E1FBA6 #F5FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF86C#FFFFFF#000000##000000
##CEF86C1.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)
#FFEA5D
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#D7EDD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef86c;
/* rgb */ color: rgb(206, 248, 108);
/* oklch */ color: oklch(92.2% 0.173 123.8);
Tailwind
colors: {
  custom: {
    50: '#e0fa9a',
    500: '#cef86c',
    950: '#000000',
  },
}
SCSS
$custom: #cef86c;
$custom-light: #e0fa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cef86c",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 78,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92185,
    "c": 0.17273,
    "h": 123.8
  },
  "luminance": 0.81339
}

Semantic roles & 50–950 ramp

primary
#CEF86C
secondary
#6536D2
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CEF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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