#AFBF7B#AFBF7B

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

Color values

HEX#AFBF7B
RGBrgb(175, 191, 123)
HSLhsl(74, 35%, 62%)
HSVhsv(74, 36%, 75%)
CMYKcmyk(8.4%, 0%, 35.6%, 25.1%)
CIE-LABlab(74.70, -16.62, 32.52)
CIE-LCHlch(74.70, 36.53, 117.07°)
OKLaboklab(77.61% -0.0452 0.0803)
OKLCHoklch(77.61% 0.092 119.4)
XYZxyz(39.8851, 47.8058, 25.8613)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF7B #8B7BBF
analogous
#BFAD7B #AFBF7B #8DBF7B
triadic
#AFBF7B #7BAFBF #BF7BAF
tetradic
#AFBF7B #7BBFAD #8B7BBF #BF7B8D
square
#AFBF7B #7BBFAD #8B7BBF #BF7B8D
split-complementary
#AFBF7B #7B8DBF #AD7BBF
monochromatic
#71813F #96AA53 #AFBF7B #C8D3A4 #E1E7CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF7B#FFFFFF#000000##000000
##AFBF7B1.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)
#C7B876
Deuteranopia (green-blind)
#C5B87E
Tritanopia (blue-blind)
#B5B8AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf7b;
/* rgb */ color: rgb(175, 191, 123);
/* oklch */ color: oklch(77.6% 0.092 119.4);
Tailwind
colors: {
  custom: {
    50: '#c7d2a2',
    500: '#afbf7b',
    950: '#000000',
  },
}
SCSS
$custom: #afbf7b;
$custom-light: #c7d2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf7b",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 123
  },
  "hsl": {
    "h": 74.118,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77606,
    "c": 0.09219,
    "h": 119.4
  },
  "luminance": 0.47806
}

Semantic roles & 50–950 ramp

primary
#AFBF7B
secondary
#C4BED8
accent
#38AE54
background
#FCFCFA
surface
#F8F9F3
border
#D1D2CD
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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