#CEF296#CEF296

#CEF296 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.124 H 126.1°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#CEF296
RGBrgb(206, 242, 150)
HSLhsl(83, 78%, 77%)
HSVhsv(83, 38%, 95%)
CMYKcmyk(14.9%, 0%, 38%, 5.1%)
CIE-LABlab(91.16, -26.60, 40.61)
CIE-LCHlch(91.16, 48.55, 123.22°)
OKLaboklab(91.44% -0.0729 0.0999)
OKLCHoklch(91.44% 0.124 126.1)
XYZxyz(62.7102, 78.8276, 40.7597)
Luminance0.7883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF296 #BA96F2
analogous
#F2E896 #CEF296 #A0F296
triadic
#CEF296 #96CEF2 #F296CE
tetradic
#CEF296 #96F2E8 #BA96F2 #F296A0
square
#CEF296 #96F2E8 #BA96F2 #F296A0
split-complementary
#CEF296 #96A0F2 #E896F2
monochromatic
#9BE529 #B5EB60 #CEF296 #E7F9CC #F2FCE4

Accessibility & contrast

On white

1.25
#CEF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#CEF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF296
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF296#FFFFFF#000000##000000
##CEF2961.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78F
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#D3EADB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef296;
/* rgb */ color: rgb(206, 242, 150);
/* oklch */ color: oklch(91.4% 0.124 126.1);
Tailwind
colors: {
  custom: {
    50: '#def6b6',
    500: '#cef296',
    950: '#000000',
  },
}
SCSS
$custom: #cef296;
$custom-light: #def6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef296",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 83.478,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.12365,
    "h": 126.1
  },
  "luminance": 0.78828
}

Semantic roles & 50–950 ramp

primary
#CEF296
secondary
#8A5DCF
accent
#0BDA5C
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF296

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

Preview Lab → · Contrast checker → · Palette generator →

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