#CEF498#CEF498

#CEF498 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.9% C 0.124 H 127.0°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#CEF498
RGBrgb(206, 244, 152)
HSLhsl(85, 81%, 78%)
HSVhsv(85, 38%, 96%)
CMYKcmyk(15.6%, 0%, 37.7%, 4.3%)
CIE-LABlab(91.72, -27.30, 40.36)
CIE-LCHlch(91.72, 48.72, 124.07°)
OKLaboklab(91.91% -0.0748 0.0993)
OKLCHoklch(91.91% 0.124 127)
XYZxyz(63.4711, 80.0896, 41.8146)
Luminance0.8009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF498 #BE98F4
analogous
#F4EC98 #CEF498 #A0F498
triadic
#CEF498 #98CEF4 #F498CE
tetradic
#CEF498 #98F4EC #BE98F4 #F498A0
square
#CEF498 #98F4EC #BE98F4 #F498A0
split-complementary
#CEF498 #98A0F4 #EC98F4
monochromatic
#99E829 #B4EE61 #CEF498 #E8FACF #F2FCE3

Accessibility & contrast

On white

1.23
#CEF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#CEF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF498
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF498#FFFFFF#000000##000000
##CEF4981.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE991
Deuteranopia (green-blind)
#F7E79D
Tritanopia (blue-blind)
#D3ECDD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cef498;
/* rgb */ color: rgb(206, 244, 152);
/* oklch */ color: oklch(91.9% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#def7b7',
    500: '#cef498',
    950: '#000000',
  },
}
SCSS
$custom: #cef498;
$custom-light: #def7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef498",
  "rgb": {
    "r": 206,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 84.783,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91909,
    "c": 0.12435,
    "h": 127
  },
  "luminance": 0.8009
}

Semantic roles & 50–950 ramp

primary
#CEF498
secondary
#8E5ED2
accent
#08DD60
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF498

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

Preview Lab → · Contrast checker → · Palette generator →

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