#AFBB8A#AFBB8A

#AFBB8A is a light, moderate yellow-green. Relative luminance 0.465; OKLCH L 77.0% C 0.068 H 119.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFBB8A
RGBrgb(175, 187, 138)
HSLhsl(75, 26%, 64%)
HSVhsv(75, 26%, 73%)
CMYKcmyk(6.4%, 0%, 26.2%, 26.7%)
CIE-LABlab(73.86, -12.53, 23.50)
CIE-LCHlch(73.86, 26.63, 118.06°)
OKLaboklab(77.02% -0.0332 0.0593)
OKLCHoklch(77.02% 0.068 119.2)
XYZxyz(40.0366, 46.4897, 30.9040)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB8A #968ABB
analogous
#BBAE8A #AFBB8A #96BB8A
triadic
#AFBB8A #8AAFBB #BB8AAF
tetradic
#AFBB8A #8ABBAE #968ABB #BB8A96
square
#AFBB8A #8ABBAE #968ABB #BB8A96
split-complementary
#AFBB8A #8A96BB #AE8ABB
monochromatic
#73804A #95A563 #AFBB8A #C9D1B1 #E4E8D7

Accessibility & contrast

On white

2.04
#AFBB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#AFBB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB8A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB8A#FFFFFF#000000##000000
##AFBB8A1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B687
Deuteranopia (green-blind)
#C0B68C
Tritanopia (blue-blind)
#B4B6AE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb8a;
/* rgb */ color: rgb(175, 187, 138);
/* oklch */ color: oklch(77.0% 0.068 119.2);
Tailwind
colors: {
  custom: {
    50: '#c7cfac',
    500: '#afbb8a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb8a;
$custom-light: #c7cfac;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb8a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 138
  },
  "hsl": {
    "h": 74.694,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.77021,
    "c": 0.06797,
    "h": 119.2
  },
  "luminance": 0.4649
}

Semantic roles & 50–950 ramp

primary
#AFBB8A
secondary
#CCC8D9
accent
#40A559
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFBB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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