#CFE96B#CFE96B

#CFE96B is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 89.0% C 0.154 H 119.4°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#CFE96B
RGBrgb(207, 233, 107)
HSLhsl(72, 74%, 67%)
HSVhsv(72, 54%, 91%)
CMYKcmyk(11.2%, 0%, 54.1%, 8.6%)
CIE-LABlab(88.26, -26.45, 57.47)
CIE-LCHlch(88.26, 63.26, 114.72°)
OKLaboklab(88.96% -0.0757 0.1346)
OKLCHoklch(88.96% 0.154 119.4)
XYZxyz(57.5255, 72.6050, 24.8907)
Luminance0.7260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE96B #856BE9
analogous
#E9C46B #CFE96B #90E96B
triadic
#CFE96B #6BCFE9 #E96BCF
tetradic
#CFE96B #6BE9C4 #856BE9 #E96B90
square
#CFE96B #6BE9C4 #856BE9 #E96B90
split-complementary
#CFE96B #6B90E9 #C46BE9
monochromatic
#9CBD1C #BEE136 #CFE96B #E0F1A0 #F2F9D6

Accessibility & contrast

On white

1.35
#CFE96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#CFE96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE96B
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE96B#FFFFFF#000000##000000
##CFE96B1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#F3DE73
Tritanopia (blue-blind)
#D9DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe96b;
/* rgb */ color: rgb(207, 233, 107);
/* oklch */ color: oklch(89.0% 0.154 119.4);
Tailwind
colors: {
  custom: {
    50: '#e0f099',
    500: '#cfe96b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe96b;
$custom-light: #e0f099;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe96b",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 72.381,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88963,
    "c": 0.15444,
    "h": 119.4
  },
  "luminance": 0.72605
}

Semantic roles & 50–950 ramp

primary
#CFE96B
secondary
#563CBC
accent
#0FD638
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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