#AFBF7A#AFBF7A

#AFBF7A is a light, moderate yellow-green. Relative luminance 0.478; OKLCH L 77.6% C 0.093 H 119.3°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#AFBF7A
RGBrgb(175, 191, 122)
HSLhsl(74, 35%, 61%)
HSVhsv(74, 36%, 75%)
CMYKcmyk(8.4%, 0%, 36.1%, 25.1%)
CIE-LABlab(74.69, -16.75, 33.02)
CIE-LCHlch(74.69, 37.03, 116.89°)
OKLaboklab(77.59% -0.0456 0.0815)
OKLCHoklch(77.59% 0.093 119.3)
XYZxyz(39.8228, 47.7809, 25.5333)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF7A #8A7ABF
analogous
#BFAD7A #AFBF7A #8DBF7A
triadic
#AFBF7A #7AAFBF #BF7AAF
tetradic
#AFBF7A #7ABFAD #8A7ABF #BF7A8D
square
#AFBF7A #7ABFAD #8A7ABF #BF7A8D
split-complementary
#AFBF7A #7A8DBF #AD7ABF
monochromatic
#71813E #96AA52 #AFBF7A #C8D3A3 #E1E7CD

Accessibility & contrast

On white

1.99
#AFBF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#AFBF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF7A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF7A#FFFFFF#000000##000000
##AFBF7A1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B875
Deuteranopia (green-blind)
#C5B87D
Tritanopia (blue-blind)
#B5B8AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf7a;
/* rgb */ color: rgb(175, 191, 122);
/* oklch */ color: oklch(77.6% 0.093 119.3);
Tailwind
colors: {
  custom: {
    50: '#c8d2a1',
    500: '#afbf7a',
    950: '#000000',
  },
}
SCSS
$custom: #afbf7a;
$custom-light: #c8d2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf7a",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 122
  },
  "hsl": {
    "h": 73.913,
    "s": 35.025,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77588,
    "c": 0.09337,
    "h": 119.3
  },
  "luminance": 0.47781
}

Semantic roles & 50–950 ramp

primary
#AFBF7A
secondary
#C3BED7
accent
#38AE53
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #AFBF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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