#CEF198#CEF198

#CEF198 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.3% C 0.120 H 126.1°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CEF198
RGBrgb(206, 241, 152)
HSLhsl(84, 76%, 77%)
HSVhsv(84, 37%, 95%)
CMYKcmyk(14.5%, 0%, 36.9%, 5.5%)
CIE-LABlab(90.92, -25.88, 39.31)
CIE-LCHlch(90.92, 47.06, 123.35°)
OKLaboklab(91.26% -0.0708 0.0969)
OKLCHoklch(91.26% 0.12 126.1)
XYZxyz(62.5758, 78.2989, 41.5162)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF198 #BB98F1
analogous
#F1E898 #CEF198 #A2F198
triadic
#CEF198 #98CEF1 #F198CE
tetradic
#CEF198 #98F1E8 #BB98F1 #F198A2
square
#CEF198 #98F1E8 #BB98F1 #F198A2
split-complementary
#CEF198 #98A2F1 #E898F1
monochromatic
#9BE22C #B4EA62 #CEF198 #E8F8CE #F2FBE4

Accessibility & contrast

On white

1.26
#CEF198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#CEF198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF198
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF198#FFFFFF#000000##000000
##CEF1981.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE692
Deuteranopia (green-blind)
#F5E49C
Tritanopia (blue-blind)
#D3E9DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef198;
/* rgb */ color: rgb(206, 241, 152);
/* oklch */ color: oklch(91.3% 0.120 126.1);
Tailwind
colors: {
  custom: {
    50: '#def5b7',
    500: '#cef198',
    950: '#000000',
  },
}
SCSS
$custom: #cef198;
$custom-light: #def5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef198",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 152
  },
  "hsl": {
    "h": 83.596,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9126,
    "c": 0.12003,
    "h": 126.1
  },
  "luminance": 0.78299
}

Semantic roles & 50–950 ramp

primary
#CEF198
secondary
#8B5FCE
accent
#0DD85D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF198

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

Preview Lab → · Contrast checker → · Palette generator →

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