#CEFE97#CEFE97

#CEFE97 is a very light, vivid yellow-green. Relative luminance 0.862; OKLCH L 94.1% C 0.140 H 129.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#CEFE97
RGBrgb(206, 254, 151)
HSLhsl(88, 98%, 79%)
HSVhsv(88, 41%, 100%)
CMYKcmyk(18.9%, 0%, 40.6%, 0.4%)
CIE-LABlab(94.41, -32.09, 44.30)
CIE-LCHlch(94.41, 54.70, 125.92°)
OKLaboklab(94.06% -0.0882 0.1084)
OKLCHoklch(94.06% 0.14 129.2)
XYZxyz(66.4805, 86.2388, 42.4154)
Luminance0.8624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFE97 #C797FE
analogous
#FEFA97 #CEFE97 #9BFE97
triadic
#CEFE97 #97CEFE #FE97CE
tetradic
#CEFE97 #97FEFA #C797FE #FE979B
square
#CEFE97 #97FEFA #C797FE #FE979B
split-complementary
#CEFE97 #979BFE #FA97FE
monochromatic
#95FD1E #B1FD5A #CEFE97 #EBFFD4 #F1FFE1

Accessibility & contrast

On white

1.15
#CEFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#CEFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFE97
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFE97#FFFFFF#000000##000000
##CEFE971.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#D2F6E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #cefe97;
/* rgb */ color: rgb(206, 254, 151);
/* oklch */ color: oklch(94.1% 0.140 129.2);
Tailwind
colors: {
  custom: {
    50: '#deffb7',
    500: '#cefe97',
    950: '#000000',
  },
}
SCSS
$custom: #cefe97;
$custom-light: #deffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefe97",
  "rgb": {
    "r": 206,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 87.961,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94064,
    "c": 0.13974,
    "h": 129.2
  },
  "luminance": 0.8624
}

Semantic roles & 50–950 ramp

primary
#CEFE97
secondary
#9859E0
accent
#00E66B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CEFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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