#AFBB7F#AFBB7F

#AFBB7F is a light, moderate yellow-green. Relative luminance 0.462; OKLCH L 76.8% C 0.082 H 117.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#AFBB7F
RGBrgb(175, 187, 127)
HSLhsl(72, 31%, 62%)
HSVhsv(72, 32%, 73%)
CMYKcmyk(6.4%, 0%, 32.1%, 26.7%)
CIE-LABlab(73.67, -14.06, 29.07)
CIE-LCHlch(73.67, 32.29, 115.81°)
OKLaboklab(76.8% -0.0378 0.0724)
OKLCHoklch(76.8% 0.082 117.6)
XYZxyz(39.2802, 46.1871, 26.9202)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7F #8B7FBB
analogous
#BBA97F #AFBB7F #91BB7F
triadic
#AFBB7F #7FAFBB #BB7FAF
tetradic
#AFBB7F #7FBBA9 #8B7FBB #BB7F91
square
#AFBB7F #7FBBA9 #8B7FBB #BB7F91
split-complementary
#AFBB7F #7F91BB #A97FBB
monochromatic
#717D42 #96A558 #AFBB7F #C8D0A7 #E1E5CF

Accessibility & contrast

On white

2.05
#AFBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#AFBB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB7F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB7F#FFFFFF#000000##000000
##AFBB7F1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C2B582
Tritanopia (blue-blind)
#B5B5AC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7f;
/* rgb */ color: rgb(175, 187, 127);
/* oklch */ color: oklch(76.8% 0.082 117.6);
Tailwind
colors: {
  custom: {
    50: '#c7cfa4',
    500: '#afbb7f',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7f;
$custom-light: #c7cfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7f",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 127
  },
  "hsl": {
    "h": 72,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.08165,
    "h": 117.6
  },
  "luminance": 0.46187
}

Semantic roles & 50–950 ramp

primary
#AFBB7F
secondary
#C4C0D6
accent
#3CA952
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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