#CFEB96#CFEB96

#CFEB96 is a very light, moderate yellow-green. Relative luminance 0.749; OKLCH L 90.0% C 0.113 H 123.5°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#CFEB96
RGBrgb(207, 235, 150)
HSLhsl(80, 68%, 75%)
HSVhsv(80, 36%, 92%)
CMYKcmyk(11.9%, 0%, 36.2%, 7.8%)
CIE-LABlab(89.34, -22.89, 38.27)
CIE-LCHlch(89.34, 44.59, 120.88°)
OKLaboklab(90% -0.0625 0.0944)
OKLCHoklch(90% 0.113 123.5)
XYZxyz(60.9451, 74.8839, 40.0915)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB96 #B296EB
analogous
#EBDD96 #CFEB96 #A4EB96
triadic
#CFEB96 #96CFEB #EB96CF
tetradic
#CFEB96 #96EBDD #B296EB #EB96A4
square
#CFEB96 #96EBDD #B296EB #EB96A4
split-complementary
#CFEB96 #96A4EB #DD96EB
monochromatic
#A0D72F #B7E163 #CFEB96 #E7F5C9 #F3FAE5

Accessibility & contrast

On white

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

On black

15.98
#CFEB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB96
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB96#FFFFFF#000000##000000
##CFEB961.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#F0E09A
Tritanopia (blue-blind)
#D5E3D6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfeb96;
/* rgb */ color: rgb(207, 235, 150);
/* oklch */ color: oklch(90.0% 0.113 123.5);
Tailwind
colors: {
  custom: {
    50: '#def1b6',
    500: '#cfeb96',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb96;
$custom-light: #def1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb96",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 150
  },
  "hsl": {
    "h": 79.765,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90004,
    "c": 0.11325,
    "h": 123.5
  },
  "luminance": 0.74884
}

Semantic roles & 50–950 ramp

primary
#CFEB96
secondary
#815FC6
accent
#16D053
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEB96

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

Preview Lab → · Contrast checker → · Palette generator →

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