#AFBB7B#AFBB7B

#AFBB7B is a light, moderate yellow-green. Relative luminance 0.461; OKLCH L 76.7% C 0.086 H 117.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#AFBB7B
RGBrgb(175, 187, 123)
HSLhsl(71, 32%, 61%)
HSVhsv(71, 34%, 73%)
CMYKcmyk(6.4%, 0%, 34.2%, 26.7%)
CIE-LABlab(73.60, -14.59, 31.08)
CIE-LCHlch(73.60, 34.34, 115.14°)
OKLaboklab(76.73% -0.0394 0.077)
OKLCHoklch(76.73% 0.087 117.1)
XYZxyz(39.0247, 46.0849, 25.5745)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7B #877BBB
analogous
#BBA77B #AFBB7B #8FBB7B
triadic
#AFBB7B #7BAFBB #BB7BAF
tetradic
#AFBB7B #7BBBA7 #877BBB #BB7B8F
square
#AFBB7B #7BBBA7 #877BBB #BB7B8F
split-complementary
#AFBB7B #7B8FBB #A77BBB
monochromatic
#717C40 #95A455 #AFBB7B #C7D0A3 #E0E5CC

Accessibility & contrast

On white

2.06
#AFBB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#AFBB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB7B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB7B#FFFFFF#000000##000000
##AFBB7B1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B576
Deuteranopia (green-blind)
#C2B57E
Tritanopia (blue-blind)
#B5B4AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7b;
/* rgb */ color: rgb(175, 187, 123);
/* oklch */ color: oklch(76.7% 0.086 117.1);
Tailwind
colors: {
  custom: {
    50: '#c7cfa2',
    500: '#afbb7b',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7b;
$custom-light: #c7cfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7b",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 123
  },
  "hsl": {
    "h": 71.25,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.0865,
    "h": 117.1
  },
  "luminance": 0.46085
}

Semantic roles & 50–950 ramp

primary
#AFBB7B
secondary
#C1BDD5
accent
#3BAB50
background
#FCFCFA
surface
#F8F9F3
border
#D1D2CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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