#CFE96A#CFE96A

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

Color values

HEX#CFE96A
RGBrgb(207, 233, 106)
HSLhsl(72, 74%, 66%)
HSVhsv(72, 55%, 91%)
CMYKcmyk(11.2%, 0%, 54.5%, 8.6%)
CIE-LABlab(88.25, -26.54, 57.90)
CIE-LCHlch(88.25, 63.70, 114.62°)
OKLaboklab(88.95% -0.0761 0.1354)
OKLCHoklch(88.95% 0.155 119.3)
XYZxyz(57.4732, 72.5841, 24.6153)
Luminance0.7258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE96A #846AE9
analogous
#E9C36A #CFE96A #90E96A
triadic
#CFE96A #6ACFE9 #E96ACF
tetradic
#CFE96A #6AE9C3 #846AE9 #E96A90
square
#CFE96A #6AE9C3 #846AE9 #E96A90
split-complementary
#CFE96A #6A90E9 #C36AE9
monochromatic
#9CBD1C #BEE135 #CFE96A #E0F19F #F1F9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE96A#FFFFFF#000000##000000
##CFE96A1.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)
#F6DD5D
Deuteranopia (green-blind)
#F3DE72
Tritanopia (blue-blind)
#D9DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe96a;
/* rgb */ color: rgb(207, 233, 106);
/* oklch */ color: oklch(89.0% 0.155 119.3);
Tailwind
colors: {
  custom: {
    50: '#e0f098',
    500: '#cfe96a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe96a;
$custom-light: #e0f098;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe96a",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 106
  },
  "hsl": {
    "h": 72.283,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.15534,
    "h": 119.3
  },
  "luminance": 0.72584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE96A

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

Preview Lab → · Contrast checker → · Palette generator →

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