#CEF787#CEF787

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

Color values

HEX#CEF787
RGBrgb(206, 247, 135)
HSLhsl(82, 88%, 75%)
HSVhsv(82, 45%, 97%)
CMYKcmyk(16.6%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.31, -30.68, 49.34)
CIE-LCHlch(92.31, 58.10, 121.88°)
OKLaboklab(92.3% -0.0853 0.1189)
OKLCHoklch(92.3% 0.146 125.6)
XYZxyz(63.0873, 81.3921, 35.3036)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF787 #B087F7
analogous
#F7E887 #CEF787 #96F787
triadic
#CEF787 #87CEF7 #F787CE
tetradic
#CEF787 #87F7E8 #B087F7 #F78796
square
#CEF787 #87F7E8 #B087F7 #F78796
split-complementary
#CEF787 #8796F7 #E887F7
monochromatic
#9FEF14 #B7F34E #CEF787 #E5FBC0 #F3FDE2

Accessibility & contrast

On white

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

On black

17.28
#CEF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF787
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF787#FFFFFF#000000##000000
##CEF7871.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FCE88D
Tritanopia (blue-blind)
#D4EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef787;
/* rgb */ color: rgb(206, 247, 135);
/* oklch */ color: oklch(92.3% 0.146 125.6);
Tailwind
colors: {
  custom: {
    50: '#dffaac',
    500: '#cef787',
    950: '#000000',
  },
}
SCSS
$custom: #cef787;
$custom-light: #dffaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cef787",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 81.964,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.923,
    "c": 0.14634,
    "h": 125.6
  },
  "luminance": 0.81393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEF787

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

Preview Lab → · Contrast checker → · Palette generator →

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