#CFEC96#CFEC96

#CFEC96 is a very light, moderate yellow-green. Relative luminance 0.755; OKLCH L 90.2% C 0.115 H 123.8°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#CFEC96
RGBrgb(207, 236, 150)
HSLhsl(80, 69%, 76%)
HSVhsv(80, 36%, 93%)
CMYKcmyk(12.3%, 0%, 36.4%, 7.5%)
CIE-LABlab(89.61, -23.37, 38.62)
CIE-LCHlch(89.61, 45.14, 121.18°)
OKLaboklab(90.22% -0.0639 0.0953)
OKLCHoklch(90.22% 0.115 123.8)
XYZxyz(61.2322, 75.4581, 40.1872)
Luminance0.7546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC96 #B396EC
analogous
#ECDE96 #CFEC96 #A4EC96
triadic
#CFEC96 #96CFEC #EC96CF
tetradic
#CFEC96 #96ECDE #B396EC #EC96A4
square
#CFEC96 #96ECDE #B396EC #EC96A4
split-complementary
#CFEC96 #96A4EC #DE96EC
monochromatic
#A0D92E #B7E362 #CFEC96 #E7F5CA #F3FAE5

Accessibility & contrast

On white

1.31
#CFEC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#CFEC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC96
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC96#FFFFFF#000000##000000
##CFEC961.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E290
Deuteranopia (green-blind)
#F1E19A
Tritanopia (blue-blind)
#D5E4D6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec96;
/* rgb */ color: rgb(207, 236, 150);
/* oklch */ color: oklch(90.2% 0.115 123.8);
Tailwind
colors: {
  custom: {
    50: '#def2b6',
    500: '#cfec96',
    950: '#000000',
  },
}
SCSS
$custom: #cfec96;
$custom-light: #def2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec96",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 150
  },
  "hsl": {
    "h": 80.233,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90219,
    "c": 0.11468,
    "h": 123.8
  },
  "luminance": 0.75458
}

Semantic roles & 50–950 ramp

primary
#CFEC96
secondary
#825FC7
accent
#14D154
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC96

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

Preview Lab → · Contrast checker → · Palette generator →

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