#CEFD97#CEFD97

#CEFD97 is a very light, vivid yellow-green. Relative luminance 0.856; OKLCH L 93.8% C 0.138 H 128.9°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#CEFD97
RGBrgb(206, 253, 151)
HSLhsl(88, 96%, 79%)
HSVhsv(88, 40%, 99%)
CMYKcmyk(18.6%, 0%, 40.3%, 0.8%)
CIE-LABlab(94.14, -31.63, 43.96)
CIE-LCHlch(94.14, 54.15, 125.73°)
OKLaboklab(93.85% -0.0869 0.1076)
OKLCHoklch(93.85% 0.138 128.9)
XYZxyz(66.1640, 85.6058, 42.3099)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFD97 #C697FD
analogous
#FDF997 #CEFD97 #9BFD97
triadic
#CEFD97 #97CEFD #FD97CE
tetradic
#CEFD97 #97FDF9 #C697FD #FD979B
square
#CEFD97 #97FDF9 #C697FD #FD979B
split-complementary
#CEFD97 #979BFD #F997FD
monochromatic
#95FB1F #B2FC5B #CEFD97 #EAFED3 #F1FEE1

Accessibility & contrast

On white

1.16
#CEFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#CEFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFD97
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFD97#FFFFFF#000000##000000
##CEFD971.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#D2F5E4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cefd97;
/* rgb */ color: rgb(206, 253, 151);
/* oklch */ color: oklch(93.8% 0.138 128.9);
Tailwind
colors: {
  custom: {
    50: '#defeb7',
    500: '#cefd97',
    950: '#000000',
  },
}
SCSS
$custom: #cefd97;
$custom-light: #defeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefd97",
  "rgb": {
    "r": 206,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 87.647,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93847,
    "c": 0.13832,
    "h": 128.9
  },
  "luminance": 0.85607
}

Semantic roles & 50–950 ramp

primary
#CEFD97
secondary
#9759DF
accent
#00E66A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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