#AFBF8A#AFBF8A

#AFBF8A is a light, moderate yellow-green. Relative luminance 0.482; OKLCH L 77.9% C 0.074 H 121.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AFBF8A
RGBrgb(175, 191, 138)
HSLhsl(78, 29%, 65%)
HSVhsv(78, 28%, 75%)
CMYKcmyk(8.4%, 0%, 27.7%, 25.1%)
CIE-LABlab(74.96, -14.58, 24.98)
CIE-LCHlch(74.96, 28.93, 120.28°)
OKLaboklab(77.89% -0.0389 0.0629)
OKLCHoklch(77.89% 0.074 121.8)
XYZxyz(40.8970, 48.2105, 31.1909)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF8A #9A8ABF
analogous
#BFB58A #AFBF8A #95BF8A
triadic
#AFBF8A #8AAFBF #BF8AAF
tetradic
#AFBF8A #8ABFB5 #9A8ABF #BF8A95
square
#AFBF8A #8ABFB5 #9A8ABF #BF8A95
split-complementary
#AFBF8A #8A95BF #B58ABF
monochromatic
#738649 #94A962 #AFBF8A #CAD5B2 #E5EAD9

Accessibility & contrast

On white

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

On black

10.64
#AFBF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF8A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF8A#FFFFFF#000000##000000
##AFBF8A1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B987
Deuteranopia (green-blind)
#C3B98C
Tritanopia (blue-blind)
#B3BAB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf8a;
/* rgb */ color: rgb(175, 191, 138);
/* oklch */ color: oklch(77.9% 0.074 121.8);
Tailwind
colors: {
  custom: {
    50: '#c7d2ac',
    500: '#afbf8a',
    950: '#000000',
  },
}
SCSS
$custom: #afbf8a;
$custom-light: #c7d2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf8a",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 138
  },
  "hsl": {
    "h": 78.113,
    "s": 29.282,
    "l": 64.51
  },
  "oklch": {
    "l": 0.77893,
    "c": 0.07398,
    "h": 121.8
  },
  "luminance": 0.48211
}

Semantic roles & 50–950 ramp

primary
#AFBF8A
secondary
#CFC9DC
accent
#3EA85E
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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