#CFE896#CFE896

#CFE896 is a very light, moderate yellow-green. Relative luminance 0.732; OKLCH L 89.4% C 0.109 H 122.4°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#CFE896
RGBrgb(207, 232, 150)
HSLhsl(78, 64%, 75%)
HSVhsv(78, 35%, 91%)
CMYKcmyk(10.8%, 0%, 35.3%, 9%)
CIE-LABlab(88.53, -21.44, 37.22)
CIE-LCHlch(88.53, 42.95, 119.94°)
OKLaboklab(89.36% -0.0584 0.092)
OKLCHoklch(89.36% 0.109 122.4)
XYZxyz(60.0934, 73.1806, 39.8077)
Luminance0.7318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE896 #AF96E8
analogous
#E8D896 #CFE896 #A6E896
triadic
#CFE896 #96CFE8 #E896CF
tetradic
#CFE896 #96E8D8 #AF96E8 #E896A6
square
#CFE896 #96E8D8 #AF96E8 #E896A6
split-complementary
#CFE896 #96A6E8 #D896E8
monochromatic
#A1D232 #B8DD64 #CFE896 #E6F3C8 #F4FAE6

Accessibility & contrast

On white

1.34
#CFE896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#CFE896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE896
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE896#FFFFFF#000000##000000
##CFE8961.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF90
Deuteranopia (green-blind)
#EEDE9A
Tritanopia (blue-blind)
#D5E0D3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe896;
/* rgb */ color: rgb(207, 232, 150);
/* oklch */ color: oklch(89.4% 0.109 122.4);
Tailwind
colors: {
  custom: {
    50: '#deefb5',
    500: '#cfe896',
    950: '#000000',
  },
}
SCSS
$custom: #cfe896;
$custom-light: #deefb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe896",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 150
  },
  "hsl": {
    "h": 78.293,
    "s": 64.062,
    "l": 74.902
  },
  "oklch": {
    "l": 0.8936,
    "c": 0.10899,
    "h": 122.4
  },
  "luminance": 0.73181
}

Semantic roles & 50–950 ramp

primary
#CFE896
secondary
#7E60C2
accent
#1ACC50
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFE896

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

Preview Lab → · Contrast checker → · Palette generator →

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