#CEF996#CEF996

#CEF996 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.0% C 0.134 H 127.9°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#CEF996
RGBrgb(206, 249, 150)
HSLhsl(86, 89%, 78%)
HSVhsv(86, 40%, 98%)
CMYKcmyk(17.3%, 0%, 39.8%, 2.4%)
CIE-LABlab(93.05, -29.89, 43.04)
CIE-LCHlch(93.05, 52.40, 124.78°)
OKLaboklab(92.96% -0.0821 0.1054)
OKLCHoklch(92.96% 0.134 127.9)
XYZxyz(64.8336, 83.0744, 41.4675)
Luminance0.8307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF996 #C196F9
analogous
#F9F396 #CEF996 #9CF996
triadic
#CEF996 #96CEF9 #F996CE
tetradic
#CEF996 #96F9F3 #C196F9 #F9969C
square
#CEF996 #96F9F3 #C196F9 #F9969C
split-complementary
#CEF996 #969CF9 #F396F9
monochromatic
#98F222 #B3F65C #CEF996 #E9FCD0 #F1FDE2

Accessibility & contrast

On white

1.19
#CEF996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#CEF996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF996
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF996#FFFFFF#000000##000000
##CEF9961.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#D2F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cef996;
/* rgb */ color: rgb(206, 249, 150);
/* oklch */ color: oklch(93.0% 0.134 127.9);
Tailwind
colors: {
  custom: {
    50: '#defbb6',
    500: '#cef996',
    950: '#000000',
  },
}
SCSS
$custom: #cef996;
$custom-light: #defbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef996",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 86.061,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92961,
    "c": 0.13366,
    "h": 127.9
  },
  "luminance": 0.83075
}

Semantic roles & 50–950 ramp

primary
#CEF996
secondary
#915AD9
accent
#00E664
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF996

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

Preview Lab → · Contrast checker → · Palette generator →

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