#CEF387#CEF387

#CEF387 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.141 H 124.6°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#CEF387
RGBrgb(206, 243, 135)
HSLhsl(81, 82%, 74%)
HSVhsv(81, 44%, 95%)
CMYKcmyk(15.2%, 0%, 44.4%, 4.7%)
CIE-LABlab(91.22, -28.82, 47.99)
CIE-LCHlch(91.22, 55.98, 120.98°)
OKLaboklab(91.43% -0.08 0.1159)
OKLCHoklch(91.43% 0.141 124.6)
XYZxyz(61.8772, 78.9719, 34.9002)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF387 #AC87F3
analogous
#F3E287 #CEF387 #98F387
triadic
#CEF387 #87CEF3 #F387CE
tetradic
#CEF387 #87F3E2 #AC87F3 #F38798
square
#CEF387 #87F3E2 #AC87F3 #F38798
split-complementary
#CEF387 #8798F3 #E287F3
monochromatic
#A1E818 #B7ED4F #CEF387 #E5F9BF #F4FCE3

Accessibility & contrast

On white

1.25
#CEF387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#CEF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF387
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF387#FFFFFF#000000##000000
##CEF3871.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77E
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#D5EAD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef387;
/* rgb */ color: rgb(206, 243, 135);
/* oklch */ color: oklch(91.4% 0.141 124.6);
Tailwind
colors: {
  custom: {
    50: '#def7ac',
    500: '#cef387',
    950: '#000000',
  },
}
SCSS
$custom: #cef387;
$custom-light: #def7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cef387",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 80.556,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91429,
    "c": 0.14086,
    "h": 124.6
  },
  "luminance": 0.78972
}

Semantic roles & 50–950 ramp

primary
#CEF387
secondary
#7B4FCF
accent
#07DE51
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF387

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

Preview Lab → · Contrast checker → · Palette generator →

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