#AFBF8D#AFBF8D

#AFBF8D is a light, moderate yellow-green. Relative luminance 0.483; OKLCH L 78.0% C 0.070 H 122.4°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#AFBF8D
RGBrgb(175, 191, 141)
HSLhsl(79, 28%, 65%)
HSVhsv(79, 26%, 75%)
CMYKcmyk(8.4%, 0%, 26.2%, 25.1%)
CIE-LABlab(75.01, -14.15, 23.46)
CIE-LCHlch(75.01, 27.40, 121.09°)
OKLaboklab(77.96% -0.0377 0.0593)
OKLCHoklch(77.96% 0.07 122.4)
XYZxyz(41.1172, 48.2986, 32.3506)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF8D #9D8DBF
analogous
#BFB68D #AFBF8D #96BF8D
triadic
#AFBF8D #8DAFBF #BF8DAF
tetradic
#AFBF8D #8DBFB6 #9D8DBF #BF8D96
square
#AFBF8D #8DBFB6 #9D8DBF #BF8D96
split-complementary
#AFBF8D #8D96BF #B68DBF
monochromatic
#73864B #93A966 #AFBF8D #CBD5B4 #E6EBDB

Accessibility & contrast

On white

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

On black

10.66
#AFBF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF8D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF8D#FFFFFF#000000##000000
##AFBF8D1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf8d;
/* rgb */ color: rgb(175, 191, 141);
/* oklch */ color: oklch(78.0% 0.070 122.4);
Tailwind
colors: {
  custom: {
    50: '#c7d2ae',
    500: '#afbf8d',
    950: '#000000',
  },
}
SCSS
$custom: #afbf8d;
$custom-light: #c7d2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf8d",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 141
  },
  "hsl": {
    "h": 79.2,
    "s": 28.09,
    "l": 65.098
  },
  "oklch": {
    "l": 0.77955,
    "c": 0.07025,
    "h": 122.4
  },
  "luminance": 0.48299
}

Semantic roles & 50–950 ramp

primary
#AFBF8D
secondary
#D1CBDC
accent
#3FA760
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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