#CEF798#CEF798

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

Color values

HEX#CEF798
RGBrgb(206, 247, 152)
HSLhsl(86, 86%, 78%)
HSVhsv(86, 38%, 97%)
CMYKcmyk(16.6%, 0%, 38.5%, 3.1%)
CIE-LABlab(92.53, -28.71, 41.40)
CIE-LCHlch(92.53, 50.38, 124.74°)
OKLaboklab(92.56% -0.0787 0.1018)
OKLCHoklch(92.56% 0.129 127.7)
XYZxyz(64.3812, 81.9096, 42.1180)
Luminance0.8191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF798 #C198F7
analogous
#F7F198 #CEF798 #9EF798
triadic
#CEF798 #98CEF7 #F798CE
tetradic
#CEF798 #98F7F1 #C198F7 #F7989E
square
#CEF798 #98F7F1 #C198F7 #F7989E
split-complementary
#CEF798 #989EF7 #F198F7
monochromatic
#98EE26 #B3F35F #CEF798 #E9FBD1 #F1FDE3

Accessibility & contrast

On white

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

On black

17.38
#CEF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF798
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF798#FFFFFF#000000##000000
##CEF7981.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FAE99D
Tritanopia (blue-blind)
#D2EFDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef798;
/* rgb */ color: rgb(206, 247, 152);
/* oklch */ color: oklch(92.6% 0.129 127.7);
Tailwind
colors: {
  custom: {
    50: '#defab7',
    500: '#cef798',
    950: '#000000',
  },
}
SCSS
$custom: #cef798;
$custom-light: #defab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef798",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 85.895,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92559,
    "c": 0.12867,
    "h": 127.7
  },
  "luminance": 0.8191
}

Semantic roles & 50–950 ramp

primary
#CEF798
secondary
#915DD6
accent
#03E264
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF798

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

Preview Lab → · Contrast checker → · Palette generator →

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