#CEF89C#CEF89C

#CEF89C is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.126 H 128.6°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CEF89C
RGBrgb(206, 248, 156)
HSLhsl(87, 87%, 79%)
HSVhsv(87, 37%, 97%)
CMYKcmyk(16.9%, 0%, 37.1%, 2.7%)
CIE-LABlab(92.86, -28.68, 39.86)
CIE-LCHlch(92.86, 49.10, 125.73°)
OKLaboklab(92.84% -0.0785 0.0983)
OKLCHoklch(92.84% 0.126 128.6)
XYZxyz(65.0209, 82.6561, 43.9747)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF89C #C69CF8
analogous
#F8F49C #CEF89C #A0F89C
triadic
#CEF89C #9CCEF8 #F89CCE
tetradic
#CEF89C #9CF8F4 #C69CF8 #F89CA0
square
#CEF89C #9CF8F4 #C69CF8 #F89CA0
split-complementary
#CEF89C #9CA0F8 #F49CF8
monochromatic
#95F02A #B2F463 #CEF89C #EAFCD5 #F1FDE2

Accessibility & contrast

On white

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

On black

17.53
#CEF89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF89C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF89C#FFFFFF#000000##000000
##CEF89C1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC95
Deuteranopia (green-blind)
#FAEAA1
Tritanopia (blue-blind)
#D2F0E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef89c;
/* rgb */ color: rgb(206, 248, 156);
/* oklch */ color: oklch(92.8% 0.126 128.6);
Tailwind
colors: {
  custom: {
    50: '#defaba',
    500: '#cef89c',
    950: '#000000',
  },
}
SCSS
$custom: #cef89c;
$custom-light: #defaba;
$custom-dark: #000000;
JSON
{
  "hex": "#cef89c",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 156
  },
  "hsl": {
    "h": 87.391,
    "s": 86.792,
    "l": 79.216
  },
  "oklch": {
    "l": 0.92842,
    "c": 0.12581,
    "h": 128.6
  },
  "luminance": 0.82657
}

Semantic roles & 50–950 ramp

primary
#CEF89C
secondary
#9760D8
accent
#02E369
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CEF89C

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

Preview Lab → · Contrast checker → · Palette generator →

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