#AFBF8F#AFBF8F

#AFBF8F is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 78.0% C 0.068 H 122.9°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#AFBF8F
RGBrgb(175, 191, 143)
HSLhsl(80, 27%, 65%)
HSVhsv(80, 25%, 75%)
CMYKcmyk(8.4%, 0%, 25.1%, 25.1%)
CIE-LABlab(75.05, -13.85, 22.45)
CIE-LCHlch(75.05, 26.38, 121.67°)
OKLaboklab(78% -0.0368 0.0569)
OKLCHoklch(78% 0.068 122.9)
XYZxyz(41.2674, 48.3587, 33.1414)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF8F #9F8FBF
analogous
#BFB78F #AFBF8F #97BF8F
triadic
#AFBF8F #8FAFBF #BF8FAF
tetradic
#AFBF8F #8FBFB7 #9F8FBF #BF8F97
square
#AFBF8F #8FBFB7 #9F8FBF #BF8F97
split-complementary
#AFBF8F #8F97BF #B78FBF
monochromatic
#73874D #93A968 #AFBF8F #CBD5B6 #E7ECDD

Accessibility & contrast

On white

1.97
#AFBF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#AFBF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF8F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF8F#FFFFFF#000000##000000
##AFBF8F1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B98C
Deuteranopia (green-blind)
#C3B991
Tritanopia (blue-blind)
#B3BAB2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf8f;
/* rgb */ color: rgb(175, 191, 143);
/* oklch */ color: oklch(78.0% 0.068 122.9);
Tailwind
colors: {
  custom: {
    50: '#c7d2b0',
    500: '#afbf8f',
    950: '#000000',
  },
}
SCSS
$custom: #afbf8f;
$custom-light: #c7d2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf8f",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 143
  },
  "hsl": {
    "h": 80,
    "s": 27.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.77998,
    "c": 0.06775,
    "h": 122.9
  },
  "luminance": 0.48359
}

Semantic roles & 50–950 ramp

primary
#AFBF8F
secondary
#D2CDDD
accent
#40A662
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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