#CEF987#CEF987

#CEF987 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.7% C 0.149 H 126.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#CEF987
RGBrgb(206, 249, 135)
HSLhsl(83, 90%, 75%)
HSVhsv(83, 46%, 98%)
CMYKcmyk(17.3%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.85, -31.61, 50.01)
CIE-LCHlch(92.85, 59.16, 122.30°)
OKLaboklab(92.74% -0.0879 0.1204)
OKLCHoklch(92.74% 0.149 126.1)
XYZxyz(63.7022, 82.6218, 35.5085)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF987 #B287F9
analogous
#F9EB87 #CEF987 #95F987
triadic
#CEF987 #87CEF9 #F987CE
tetradic
#CEF987 #87F9EB #B287F9 #F98795
square
#CEF987 #87F9EB #B287F9 #F98795
split-complementary
#CEF987 #8795F9 #EB87F9
monochromatic
#9EF312 #B6F64D #CEF987 #E6FCC1 #F3FEE2

Accessibility & contrast

On white

1.20
#CEF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#CEF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF987
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF987#FFFFFF#000000##000000
##CEF9871.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FEEA8D
Tritanopia (blue-blind)
#D4F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef987;
/* rgb */ color: rgb(206, 249, 135);
/* oklch */ color: oklch(92.7% 0.149 126.1);
Tailwind
colors: {
  custom: {
    50: '#dffbac',
    500: '#cef987',
    950: '#000000',
  },
}
SCSS
$custom: #cef987;
$custom-light: #dffbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cef987",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 82.632,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92737,
    "c": 0.14907,
    "h": 126.1
  },
  "luminance": 0.82622
}

Semantic roles & 50–950 ramp

primary
#CEF987
secondary
#814DD7
accent
#00E657
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF987

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

Preview Lab → · Contrast checker → · Palette generator →

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