#AFBB7A#AFBB7A

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

Color values

HEX#AFBB7A
RGBrgb(175, 187, 122)
HSLhsl(71, 32%, 61%)
HSVhsv(71, 35%, 73%)
CMYKcmyk(6.4%, 0%, 34.8%, 26.7%)
CIE-LABlab(73.58, -14.71, 31.59)
CIE-LCHlch(73.58, 34.85, 114.98°)
OKLaboklab(76.71% -0.0399 0.0781)
OKLCHoklch(76.71% 0.088 117)
XYZxyz(38.9624, 46.0600, 25.2465)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7A #867ABB
analogous
#BBA67A #AFBB7A #8EBB7A
triadic
#AFBB7A #7AAFBB #BB7AAF
tetradic
#AFBB7A #7ABBA6 #867ABB #BB7A8E
square
#AFBB7A #7ABBA6 #867ABB #BB7A8E
split-complementary
#AFBB7A #7A8EBB #A67ABB
monochromatic
#707B3F #95A454 #AFBB7A #C7D0A2 #E0E4CB

Accessibility & contrast

On white

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

On black

10.21
#AFBB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB7A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB7A#FFFFFF#000000##000000
##AFBB7A1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B475
Deuteranopia (green-blind)
#C2B57D
Tritanopia (blue-blind)
#B6B4AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7a;
/* rgb */ color: rgb(175, 187, 122);
/* oklch */ color: oklch(76.7% 0.088 117.0);
Tailwind
colors: {
  custom: {
    50: '#c7cfa1',
    500: '#afbb7a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7a;
$custom-light: #c7cfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 122
  },
  "hsl": {
    "h": 71.077,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.76709,
    "c": 0.08771,
    "h": 117
  },
  "luminance": 0.4606
}

Semantic roles & 50–950 ramp

primary
#AFBB7A
secondary
#C1BCD5
accent
#3AAB4F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130F
muted
#82827E

Preview Lab

Preview with #AFBB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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