#CEF196#CEF196

#CEF196 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.2% C 0.122 H 125.9°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#CEF196
RGBrgb(206, 241, 150)
HSLhsl(83, 76%, 77%)
HSVhsv(83, 38%, 95%)
CMYKcmyk(14.5%, 0%, 37.8%, 5.5%)
CIE-LABlab(90.89, -26.12, 40.26)
CIE-LCHlch(90.89, 48.00, 122.98°)
OKLaboklab(91.23% -0.0716 0.0991)
OKLCHoklch(91.23% 0.122 125.9)
XYZxyz(62.4134, 78.2339, 40.6608)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF196 #B996F1
analogous
#F1E796 #CEF196 #A1F196
triadic
#CEF196 #96CEF1 #F196CE
tetradic
#CEF196 #96F1E7 #B996F1 #F196A1
square
#CEF196 #96F1E7 #B996F1 #F196A1
split-complementary
#CEF196 #96A1F1 #E796F1
monochromatic
#9CE32A #B5EA60 #CEF196 #E7F8CC #F2FBE4

Accessibility & contrast

On white

1.26
#CEF196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#CEF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF196
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF196#FFFFFF#000000##000000
##CEF1961.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68F
Deuteranopia (green-blind)
#F5E49B
Tritanopia (blue-blind)
#D3E9DA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef196;
/* rgb */ color: rgb(206, 241, 150);
/* oklch */ color: oklch(91.2% 0.122 125.9);
Tailwind
colors: {
  custom: {
    50: '#def5b6',
    500: '#cef196',
    950: '#000000',
  },
}
SCSS
$custom: #cef196;
$custom-light: #def5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef196",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 83.077,
    "s": 76.471,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91227,
    "c": 0.12221,
    "h": 125.9
  },
  "luminance": 0.78234
}

Semantic roles & 50–950 ramp

primary
#CEF196
secondary
#895DCE
accent
#0DD95B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF196

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

Preview Lab → · Contrast checker → · Palette generator →

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