#CEFC97#CEFC97

#CEFC97 is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.6% C 0.137 H 128.7°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#CEFC97
RGBrgb(206, 252, 151)
HSLhsl(87, 94%, 79%)
HSVhsv(87, 40%, 99%)
CMYKcmyk(18.3%, 0%, 40.1%, 1.2%)
CIE-LABlab(93.87, -31.16, 43.61)
CIE-LCHlch(93.87, 53.60, 125.55°)
OKLaboklab(93.63% -0.0857 0.1068)
OKLCHoklch(93.63% 0.137 128.7)
XYZxyz(65.8491, 84.9761, 42.2049)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFC97 #C597FC
analogous
#FCF897 #CEFC97 #9CFC97
triadic
#CEFC97 #97CEFC #FC97CE
tetradic
#CEFC97 #97FCF8 #C597FC #FC979C
square
#CEFC97 #97FCF8 #C597FC #FC979C
split-complementary
#CEFC97 #979CFC #F897FC
monochromatic
#96F920 #B2FA5C #CEFC97 #EAFED2 #F1FEE1

Accessibility & contrast

On white

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

On black

18.00
#CEFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFC97
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFC97#FFFFFF#000000##000000
##CEFC971.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cefc97;
/* rgb */ color: rgb(206, 252, 151);
/* oklch */ color: oklch(93.6% 0.137 128.7);
Tailwind
colors: {
  custom: {
    50: '#defdb7',
    500: '#cefc97',
    950: '#000000',
  },
}
SCSS
$custom: #cefc97;
$custom-light: #defdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefc97",
  "rgb": {
    "r": 206,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 87.327,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93629,
    "c": 0.13689,
    "h": 128.7
  },
  "luminance": 0.84977
}

Semantic roles & 50–950 ramp

primary
#CEFC97
secondary
#965ADD
accent
#00E669
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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