#CEFD98#CEFD98

#CEFD98 is a very light, vivid yellow-green. Relative luminance 0.856; OKLCH L 93.9% C 0.137 H 129.1°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#CEFD98
RGBrgb(206, 253, 152)
HSLhsl(88, 96%, 79%)
HSVhsv(88, 40%, 99%)
CMYKcmyk(18.6%, 0%, 39.9%, 0.8%)
CIE-LABlab(94.16, -31.51, 43.49)
CIE-LCHlch(94.16, 53.70, 125.92°)
OKLaboklab(93.86% -0.0866 0.1065)
OKLCHoklch(93.86% 0.137 129.1)
XYZxyz(66.2455, 85.6384, 42.7394)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFD98 #C798FD
analogous
#FDFA98 #CEFD98 #9CFD98
triadic
#CEFD98 #98CEFD #FD98CE
tetradic
#CEFD98 #98FDFA #C798FD #FD989C
square
#CEFD98 #98FDFA #C798FD #FD989C
split-complementary
#CEFD98 #989CFD #FA98FD
monochromatic
#95FB20 #B1FC5C #CEFD98 #EBFED4 #F1FEE1

Accessibility & contrast

On white

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

On black

18.13
#CEFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFD98
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFD98#FFFFFF#000000##000000
##CEFD981.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cefd98;
/* rgb */ color: rgb(206, 253, 152);
/* oklch */ color: oklch(93.9% 0.137 129.1);
Tailwind
colors: {
  custom: {
    50: '#defeb7',
    500: '#cefd98',
    950: '#000000',
  },
}
SCSS
$custom: #cefd98;
$custom-light: #defeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefd98",
  "rgb": {
    "r": 206,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 87.921,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93862,
    "c": 0.13727,
    "h": 129.1
  },
  "luminance": 0.85639
}

Semantic roles & 50–950 ramp

primary
#CEFD98
secondary
#985ADF
accent
#00E66B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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