#CEF989#CEF989

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

Color values

HEX#CEF989
RGBrgb(206, 249, 137)
HSLhsl(83, 90%, 76%)
HSVhsv(83, 45%, 98%)
CMYKcmyk(17.3%, 0%, 45%, 2.4%)
CIE-LABlab(92.87, -31.39, 49.09)
CIE-LCHlch(92.87, 58.27, 122.60°)
OKLaboklab(92.77% -0.0871 0.1185)
OKLCHoklch(92.77% 0.147 126.3)
XYZxyz(63.8443, 82.6787, 36.2571)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF989 #B489F9
analogous
#F9EC89 #CEF989 #96F989
triadic
#CEF989 #89CEF9 #F989CE
tetradic
#CEF989 #89F9EC #B489F9 #F98996
square
#CEF989 #89F9EC #B489F9 #F98996
split-complementary
#CEF989 #8996F9 #EC89F9
monochromatic
#9EF315 #B6F64F #CEF989 #E6FCC3 #F3FEE2

Accessibility & contrast

On white

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

On black

17.54
#CEF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF989
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF989#FFFFFF#000000##000000
##CEF9891.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FDEA8F
Tritanopia (blue-blind)
#D4F0DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cef989;
/* rgb */ color: rgb(206, 249, 137);
/* oklch */ color: oklch(92.8% 0.147 126.3);
Tailwind
colors: {
  custom: {
    50: '#dffbad',
    500: '#cef989',
    950: '#000000',
  },
}
SCSS
$custom: #cef989;
$custom-light: #dffbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cef989",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 83.036,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92765,
    "c": 0.14707,
    "h": 126.3
  },
  "luminance": 0.82679
}

Semantic roles & 50–950 ramp

primary
#CEF989
secondary
#834FD7
accent
#00E658
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF989

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

Preview Lab → · Contrast checker → · Palette generator →

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