#CFEF98#CFEF98

#CFEF98 is a very light, moderate yellow-green. Relative luminance 0.773; OKLCH L 90.9% C 0.117 H 125.1°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CFEF98
RGBrgb(207, 239, 152)
HSLhsl(82, 73%, 77%)
HSVhsv(82, 36%, 94%)
CMYKcmyk(13.4%, 0%, 36.4%, 6.3%)
CIE-LABlab(90.44, -24.56, 38.71)
CIE-LCHlch(90.44, 45.84, 122.39°)
OKLaboklab(90.9% -0.0671 0.0955)
OKLCHoklch(90.9% 0.117 125.1)
XYZxyz(62.2656, 77.2650, 41.3330)
Luminance0.7726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF98 #B898EF
analogous
#EFE498 #CFEF98 #A4EF98
triadic
#CFEF98 #98CFEF #EF98CF
tetradic
#CFEF98 #98EFE4 #B898EF #EF98A4
square
#CFEF98 #98EFE4 #B898EF #EF98A4
split-complementary
#CFEF98 #98A4EF #E498EF
monochromatic
#9EDF2E #B6E763 #CFEF98 #E8F7CD #F3FBE5

Accessibility & contrast

On white

1.28
#CFEF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#CFEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF98
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF98#FFFFFF#000000##000000
##CFEF981.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#F4E39C
Tritanopia (blue-blind)
#D4E7D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cfef98;
/* rgb */ color: rgb(207, 239, 152);
/* oklch */ color: oklch(90.9% 0.117 125.1);
Tailwind
colors: {
  custom: {
    50: '#def4b7',
    500: '#cfef98',
    950: '#000000',
  },
}
SCSS
$custom: #cfef98;
$custom-light: #def4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef98",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 82.069,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.90898,
    "c": 0.11675,
    "h": 125.1
  },
  "luminance": 0.77265
}

Semantic roles & 50–950 ramp

primary
#CFEF98
secondary
#8760CC
accent
#10D559
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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