#CFEF96#CFEF96

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

Color values

HEX#CFEF96
RGBrgb(207, 239, 150)
HSLhsl(82, 74%, 76%)
HSVhsv(82, 37%, 94%)
CMYKcmyk(13.4%, 0%, 37.2%, 6.3%)
CIE-LABlab(90.41, -24.81, 39.66)
CIE-LCHlch(90.41, 46.78, 122.02°)
OKLaboklab(90.87% -0.0679 0.0977)
OKLCHoklch(90.87% 0.119 124.8)
XYZxyz(62.1032, 77.2001, 40.4776)
Luminance0.7720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF96 #B696EF
analogous
#EFE396 #CFEF96 #A3EF96
triadic
#CFEF96 #96CFEF #EF96CF
tetradic
#CFEF96 #96EFE3 #B696EF #EF96A3
square
#CFEF96 #96EFE3 #B696EF #EF96A3
split-complementary
#CFEF96 #96A3EF #E396EF
monochromatic
#9EDF2C #B7E761 #CFEF96 #E7F7CB #F3FBE4

Accessibility & contrast

On white

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

On black

16.44
#CFEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF96
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF96#FFFFFF#000000##000000
##CFEF961.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E590
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#D5E7D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cfef96;
/* rgb */ color: rgb(207, 239, 150);
/* oklch */ color: oklch(90.9% 0.119 124.8);
Tailwind
colors: {
  custom: {
    50: '#dff4b6',
    500: '#cfef96',
    950: '#000000',
  },
}
SCSS
$custom: #cfef96;
$custom-light: #dff4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef96",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 81.573,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90865,
    "c": 0.11896,
    "h": 124.8
  },
  "luminance": 0.772
}

Semantic roles & 50–950 ramp

primary
#CFEF96
secondary
#855ECB
accent
#10D657
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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