#AFC896#AFC896

#AFC896 is a light, moderate yellow-green. Relative luminance 0.526; OKLCH L 80.1% C 0.073 H 129.5°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#AFC896
RGBrgb(175, 200, 150)
HSLhsl(90, 31%, 69%)
HSVhsv(90, 25%, 78%)
CMYKcmyk(12.5%, 0%, 25%, 21.6%)
CIE-LABlab(77.65, -17.36, 22.29)
CIE-LCHlch(77.65, 28.25, 127.92°)
OKLaboklab(80.12% -0.0467 0.0566)
OKLCHoklch(80.12% 0.073 129.5)
XYZxyz(43.8376, 52.6241, 36.6962)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC896 #AF96C8
analogous
#C8C896 #AFC896 #96C896
triadic
#AFC896 #96AFC8 #C896AF
tetradic
#AFC896 #96C8C8 #AF96C8 #C89696
square
#AFC896 #96C8C8 #AF96C8 #C89696
split-complementary
#AFC896 #9696C8 #C896C8
monochromatic
#72954E #90B36E #AFC896 #CEDDBE #ECF2E6

Accessibility & contrast

On white

1.82
#AFC896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#AFC896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC896
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC896#FFFFFF#000000##000000
##AFC8961.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC193
Deuteranopia (green-blind)
#C9BF98
Tritanopia (blue-blind)
#B1C4BB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc896;
/* rgb */ color: rgb(175, 200, 150);
/* oklch */ color: oklch(80.1% 0.073 129.5);
Tailwind
colors: {
  custom: {
    50: '#c7d8b5',
    500: '#afc896',
    950: '#000000',
  },
}
SCSS
$custom: #afc896;
$custom-light: #c7d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc896",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 150
  },
  "hsl": {
    "h": 90,
    "s": 31.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.80115,
    "c": 0.07333,
    "h": 129.5
  },
  "luminance": 0.52625
}

Semantic roles & 50–950 ramp

primary
#AFC896
secondary
#81669D
accent
#3CAA73
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC896

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

Preview Lab → · Contrast checker → · Palette generator →

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