#AFBF7E#AFBF7E

#AFBF7E is a light, moderate yellow-green. Relative luminance 0.479; OKLCH L 77.7% C 0.089 H 119.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#AFBF7E
RGBrgb(175, 191, 126)
HSLhsl(75, 34%, 62%)
HSVhsv(75, 34%, 75%)
CMYKcmyk(8.4%, 0%, 34%, 25.1%)
CIE-LABlab(74.75, -16.23, 31.02)
CIE-LCHlch(74.75, 35.02, 117.62°)
OKLaboklab(77.66% -0.044 0.0769)
OKLCHoklch(77.66% 0.089 119.8)
XYZxyz(40.0758, 47.8820, 26.8655)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF7E #8E7EBF
analogous
#BFAF7E #AFBF7E #8FBF7E
triadic
#AFBF7E #7EAFBF #BF7EAF
tetradic
#AFBF7E #7EBFAF #8E7EBF #BF7E8F
square
#AFBF7E #7EBFAF #8E7EBF #BF7E8F
split-complementary
#AFBF7E #7E8FBF #AF7EBF
monochromatic
#728241 #96AB55 #AFBF7E #C8D3A7 #E2E8D0

Accessibility & contrast

On white

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

On black

10.58
#AFBF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF7E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF7E#FFFFFF#000000##000000
##AFBF7E1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf7e;
/* rgb */ color: rgb(175, 191, 126);
/* oklch */ color: oklch(77.7% 0.089 119.8);
Tailwind
colors: {
  custom: {
    50: '#c7d2a4',
    500: '#afbf7e',
    950: '#000000',
  },
}
SCSS
$custom: #afbf7e;
$custom-light: #c7d2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf7e",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 126
  },
  "hsl": {
    "h": 74.769,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.08863,
    "h": 119.8
  },
  "luminance": 0.47882
}

Semantic roles & 50–950 ramp

primary
#AFBF7E
secondary
#C6C0D8
accent
#39AC55
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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