#CEF799#CEF799

#CEF799 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.6% C 0.128 H 127.9°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#CEF799
RGBrgb(206, 247, 153)
HSLhsl(86, 85%, 78%)
HSVhsv(86, 38%, 97%)
CMYKcmyk(16.6%, 0%, 38.1%, 3.1%)
CIE-LABlab(92.55, -28.59, 40.93)
CIE-LCHlch(92.55, 49.93, 124.93°)
OKLaboklab(92.58% -0.0783 0.1007)
OKLCHoklch(92.58% 0.128 127.9)
XYZxyz(64.4634, 81.9425, 42.5511)
Luminance0.8194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF799 #C299F7
analogous
#F7F199 #CEF799 #9FF799
triadic
#CEF799 #99CEF7 #F799CE
tetradic
#CEF799 #99F7F1 #C299F7 #F7999F
square
#CEF799 #99F7F1 #C299F7 #F7999F
split-complementary
#CEF799 #999FF7 #F199F7
monochromatic
#97EE27 #B3F360 #CEF799 #E9FBD2 #F1FDE3

Accessibility & contrast

On white

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

On black

17.39
#CEF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF799
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF799#FFFFFF#000000##000000
##CEF7991.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB92
Deuteranopia (green-blind)
#FAE99E
Tritanopia (blue-blind)
#D2EFE0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef799;
/* rgb */ color: rgb(206, 247, 153);
/* oklch */ color: oklch(92.6% 0.128 127.9);
Tailwind
colors: {
  custom: {
    50: '#defab8',
    500: '#cef799',
    950: '#000000',
  },
}
SCSS
$custom: #cef799;
$custom-light: #defab8;
$custom-dark: #000000;
JSON
{
  "hex": "#cef799",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 86.17,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92575,
    "c": 0.1276,
    "h": 127.9
  },
  "luminance": 0.81943
}

Semantic roles & 50–950 ramp

primary
#CEF799
secondary
#925ED6
accent
#04E265
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF799

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

Preview Lab → · Contrast checker → · Palette generator →

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