#CEFE98#CEFE98

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

Color values

HEX#CEFE98
RGBrgb(206, 254, 152)
HSLhsl(88, 98%, 80%)
HSVhsv(88, 40%, 100%)
CMYKcmyk(18.9%, 0%, 40.2%, 0.4%)
CIE-LABlab(94.43, -31.97, 43.84)
CIE-LCHlch(94.43, 54.25, 126.10°)
OKLaboklab(94.08% -0.0878 0.1073)
OKLCHoklch(94.08% 0.139 129.3)
XYZxyz(66.5621, 86.2714, 42.8449)
Luminance0.8627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFE98 #C898FE
analogous
#FEFB98 #CEFE98 #9BFE98
triadic
#CEFE98 #98CEFE #FE98CE
tetradic
#CEFE98 #98FEFB #C898FE #FE989B
square
#CEFE98 #98FEFB #C898FE #FE989B
split-complementary
#CEFE98 #989BFE #FB98FE
monochromatic
#94FD1F #B1FD5B #CEFE98 #EBFFD5 #F1FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEFE98#FFFFFF#000000##000000
##CEFE981.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)
#FFF190
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#D2F6E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #cefe98;
/* rgb */ color: rgb(206, 254, 152);
/* oklch */ color: oklch(94.1% 0.139 129.3);
Tailwind
colors: {
  custom: {
    50: '#deffb7',
    500: '#cefe98',
    950: '#000000',
  },
}
SCSS
$custom: #cefe98;
$custom-light: #deffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefe98",
  "rgb": {
    "r": 206,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 88.235,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.9408,
    "c": 0.13871,
    "h": 129.3
  },
  "luminance": 0.86272
}

Semantic roles & 50–950 ramp

primary
#CEFE98
secondary
#995AE0
accent
#00E66C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CEFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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