#CFEF97#CFEF97

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

Color values

HEX#CFEF97
RGBrgb(207, 239, 151)
HSLhsl(82, 73%, 76%)
HSVhsv(82, 37%, 94%)
CMYKcmyk(13.4%, 0%, 36.8%, 6.3%)
CIE-LABlab(90.43, -24.68, 39.19)
CIE-LCHlch(90.43, 46.31, 122.21°)
OKLaboklab(90.88% -0.0675 0.0966)
OKLCHoklch(90.88% 0.118 125)
XYZxyz(62.1841, 77.2324, 40.9035)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF97 #B797EF
analogous
#EFE397 #CFEF97 #A3EF97
triadic
#CFEF97 #97CFEF #EF97CF
tetradic
#CFEF97 #97EFE3 #B797EF #EF97A3
square
#CFEF97 #97EFE3 #B797EF #EF97A3
split-complementary
#CFEF97 #97A3EF #E397EF
monochromatic
#9EDF2D #B7E762 #CFEF97 #E7F7CC #F3FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFEF97#FFFFFF#000000##000000
##CFEF971.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)
#F8E591
Deuteranopia (green-blind)
#F4E39B
Tritanopia (blue-blind)
#D4E7D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cfef97;
/* rgb */ color: rgb(207, 239, 151);
/* oklch */ color: oklch(90.9% 0.118 125.0);
Tailwind
colors: {
  custom: {
    50: '#def4b6',
    500: '#cfef97',
    950: '#000000',
  },
}
SCSS
$custom: #cfef97;
$custom-light: #def4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef97",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 81.818,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90881,
    "c": 0.11786,
    "h": 125
  },
  "luminance": 0.77233
}

Semantic roles & 50–950 ramp

primary
#CFEF97
secondary
#865FCB
accent
#10D558
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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