#CEFB98#CEFB98

#CEFB98 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.4% C 0.134 H 128.7°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#CEFB98
RGBrgb(206, 251, 152)
HSLhsl(87, 93%, 79%)
HSVhsv(87, 39%, 98%)
CMYKcmyk(17.9%, 0%, 39.4%, 1.6%)
CIE-LABlab(93.62, -30.58, 42.80)
CIE-LCHlch(93.62, 52.60, 125.55°)
OKLaboklab(93.43% -0.084 0.105)
OKLCHoklch(93.43% 0.134 128.7)
XYZxyz(65.6175, 84.3823, 42.5301)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFB98 #C598FB
analogous
#FBF798 #CEFB98 #9DFB98
triadic
#CEFB98 #98CEFB #FB98CE
tetradic
#CEFB98 #98FBF7 #C598FB #FB989D
square
#CEFB98 #98FBF7 #C598FB #FB989D
split-complementary
#CEFB98 #989DFB #F798FB
monochromatic
#96F622 #B2F95D #CEFB98 #EAFDD3 #F1FEE2

Accessibility & contrast

On white

1.17
#CEFB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#CEFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFB98
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFB98#FFFFFF#000000##000000
##CEFB981.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FDEC9D
Tritanopia (blue-blind)
#D2F3E3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #cefb98;
/* rgb */ color: rgb(206, 251, 152);
/* oklch */ color: oklch(93.4% 0.134 128.7);
Tailwind
colors: {
  custom: {
    50: '#defcb7',
    500: '#cefb98',
    950: '#000000',
  },
}
SCSS
$custom: #cefb98;
$custom-light: #defcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefb98",
  "rgb": {
    "r": 206,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 87.273,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93427,
    "c": 0.13441,
    "h": 128.7
  },
  "luminance": 0.84383
}

Semantic roles & 50–950 ramp

primary
#CEFB98
secondary
#965BDC
accent
#00E668
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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