#CEF896#CEF896

#CEF896 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.132 H 127.7°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#CEF896
RGBrgb(206, 248, 150)
HSLhsl(86, 88%, 78%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(16.9%, 0%, 39.5%, 2.7%)
CIE-LABlab(92.78, -29.42, 42.70)
CIE-LCHlch(92.78, 51.85, 124.57°)
OKLaboklab(92.74% -0.0808 0.1046)
OKLCHoklch(92.74% 0.132 127.7)
XYZxyz(64.5254, 82.4579, 41.3648)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF896 #C096F8
analogous
#F8F196 #CEF896 #9DF896
triadic
#CEF896 #96CEF8 #F896CE
tetradic
#CEF896 #96F8F1 #C096F8 #F8969D
square
#CEF896 #96F8F1 #C096F8 #F8969D
split-complementary
#CEF896 #969DF8 #F196F8
monochromatic
#98F023 #B3F45D #CEF896 #E9FCCF #F2FDE2

Accessibility & contrast

On white

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

On black

17.49
#CEF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF896
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF896#FFFFFF#000000##000000
##CEF8961.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FBE99B
Tritanopia (blue-blind)
#D3F0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef896;
/* rgb */ color: rgb(206, 248, 150);
/* oklch */ color: oklch(92.7% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#defab6',
    500: '#cef896',
    950: '#000000',
  },
}
SCSS
$custom: #cef896;
$custom-light: #defab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef896",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 85.714,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92743,
    "c": 0.13223,
    "h": 127.7
  },
  "luminance": 0.82459
}

Semantic roles & 50–950 ramp

primary
#CEF896
secondary
#905BD8
accent
#01E463
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF896

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

Preview Lab → · Contrast checker → · Palette generator →

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