#CEFB97#CEFB97

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

Color values

HEX#CEFB97
RGBrgb(206, 251, 151)
HSLhsl(87, 93%, 79%)
HSVhsv(87, 40%, 98%)
CMYKcmyk(17.9%, 0%, 39.8%, 1.6%)
CIE-LABlab(93.60, -30.70, 43.27)
CIE-LCHlch(93.60, 53.05, 125.36°)
OKLaboklab(93.41% -0.0844 0.106)
OKLCHoklch(93.41% 0.135 128.5)
XYZxyz(65.5359, 84.3497, 42.1005)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFB97 #C497FB
analogous
#FBF697 #CEFB97 #9CFB97
triadic
#CEFB97 #97CEFB #FB97CE
tetradic
#CEFB97 #97FBF6 #C497FB #FB979C
square
#CEFB97 #97FBF6 #C497FB #FB979C
split-complementary
#CEFB97 #979CFB #F697FB
monochromatic
#96F621 #B2F95C #CEFB97 #EAFDD2 #F1FEE2

Accessibility & contrast

On white

1.18
#CEFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#CEFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFB97
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFB97#FFFFFF#000000##000000
##CEFB971.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FDEC9C
Tritanopia (blue-blind)
#D2F3E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #cefb97;
/* rgb */ color: rgb(206, 251, 151);
/* oklch */ color: oklch(93.4% 0.135 128.5);
Tailwind
colors: {
  custom: {
    50: '#defcb7',
    500: '#cefb97',
    950: '#000000',
  },
}
SCSS
$custom: #cefb97;
$custom-light: #defcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefb97",
  "rgb": {
    "r": 206,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 87,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93411,
    "c": 0.13546,
    "h": 128.5
  },
  "luminance": 0.84351
}

Semantic roles & 50–950 ramp

primary
#CEFB97
secondary
#955ADC
accent
#00E667
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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