#CEF796#CEF796

#CEF796 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.5% C 0.131 H 127.4°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#CEF796
RGBrgb(206, 247, 150)
HSLhsl(85, 86%, 78%)
HSVhsv(85, 39%, 97%)
CMYKcmyk(16.6%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.51, -28.96, 42.35)
CIE-LCHlch(92.51, 51.30, 124.36°)
OKLaboklab(92.53% -0.0795 0.1039)
OKLCHoklch(92.53% 0.131 127.4)
XYZxyz(64.2187, 81.8446, 41.2625)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF796 #BF96F7
analogous
#F7F096 #CEF796 #9DF796
triadic
#CEF796 #96CEF7 #F796CE
tetradic
#CEF796 #96F7F0 #BF96F7 #F7969D
square
#CEF796 #96F7F0 #BF96F7 #F7969D
split-complementary
#CEF796 #969DF7 #F096F7
monochromatic
#99EE24 #B3F35D #CEF796 #E9FBCF #F2FDE3

Accessibility & contrast

On white

1.21
#CEF796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#CEF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF796
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF796#FFFFFF#000000##000000
##CEF7961.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#D3EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef796;
/* rgb */ color: rgb(206, 247, 150);
/* oklch */ color: oklch(92.5% 0.131 127.4);
Tailwind
colors: {
  custom: {
    50: '#defab6',
    500: '#cef796',
    950: '#000000',
  },
}
SCSS
$custom: #cef796;
$custom-light: #defab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef796",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 85.361,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92526,
    "c": 0.1308,
    "h": 127.4
  },
  "luminance": 0.81845
}

Semantic roles & 50–950 ramp

primary
#CEF796
secondary
#8F5BD6
accent
#03E261
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF796

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

Preview Lab → · Contrast checker → · Palette generator →

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