#AFD896#AFD896

#AFD896 is a very light, moderate yellow-green. Relative luminance 0.604; OKLCH L 83.6% C 0.099 H 134.0°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#AFD896
RGBrgb(175, 216, 150)
HSLhsl(97, 46%, 72%)
HSVhsv(97, 31%, 85%)
CMYKcmyk(19%, 0%, 30.6%, 15.3%)
CIE-LABlab(82.07, -25.26, 28.28)
CIE-LCHlch(82.07, 37.92, 131.78°)
OKLaboklab(83.65% -0.0687 0.071)
OKLCHoklch(83.65% 0.099 134)
XYZxyz(47.7390, 60.4268, 37.9966)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD896 #BF96D8
analogous
#D0D896 #AFD896 #96D89E
triadic
#AFD896 #96AFD8 #D896AF
tetradic
#AFD896 #96D0D8 #BF96D8 #D89E96
square
#AFD896 #96D0D8 #BF96D8 #D89E96
split-complementary
#AFD896 #9E96D8 #D896D0
monochromatic
#6CB242 #8DC769 #AFD896 #D1E9C3 #EEF7E9

Accessibility & contrast

On white

1.60
#AFD896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#AFD896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD896
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD896#FFFFFF#000000##000000
##AFD8961.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE92
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#AFD3C7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd896;
/* rgb */ color: rgb(175, 216, 150);
/* oklch */ color: oklch(83.6% 0.099 134.0);
Tailwind
colors: {
  custom: {
    50: '#c7e4b5',
    500: '#afd896',
    950: '#000000',
  },
}
SCSS
$custom: #afd896;
$custom-light: #c7e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd896",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 97.273,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.83649,
    "c": 0.09878,
    "h": 134
  },
  "luminance": 0.60428
}

Semantic roles & 50–950 ramp

primary
#AFD896
secondary
#9263AF
accent
#2CB984
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD896

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

Preview Lab → · Contrast checker → · Palette generator →

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