#AFBA8A#AFBA8A

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

Color values

HEX#AFBA8A
RGBrgb(175, 186, 138)
HSLhsl(74, 26%, 64%)
HSVhsv(74, 26%, 73%)
CMYKcmyk(5.9%, 0%, 25.8%, 27.1%)
CIE-LABlab(73.59, -12.01, 23.13)
CIE-LCHlch(73.59, 26.06, 117.45°)
OKLaboklab(76.8% -0.0317 0.0584)
OKLCHoklch(76.8% 0.066 118.5)
XYZxyz(39.8252, 46.0669, 30.8336)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA8A #958ABA
analogous
#BAAD8A #AFBA8A #97BA8A
triadic
#AFBA8A #8AAFBA #BA8AAF
tetradic
#AFBA8A #8ABAAD #958ABA #BA8A97
square
#AFBA8A #8ABAAD #958ABA #BA8A97
split-complementary
#AFBA8A #8A97BA #AD8ABA
monochromatic
#737F4B #95A364 #AFBA8A #C9D1B0 #E4E7D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBA8A#FFFFFF#000000##000000
##AFBA8A1.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)
#C0B587
Deuteranopia (green-blind)
#BFB58C
Tritanopia (blue-blind)
#B4B5AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afba8a;
/* rgb */ color: rgb(175, 186, 138);
/* oklch */ color: oklch(76.8% 0.066 118.5);
Tailwind
colors: {
  custom: {
    50: '#c7ceac',
    500: '#afba8a',
    950: '#000000',
  },
}
SCSS
$custom: #afba8a;
$custom-light: #c7ceac;
$custom-dark: #000000;
JSON
{
  "hex": "#afba8a",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 138
  },
  "hsl": {
    "h": 73.75,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.76804,
    "c": 0.06648,
    "h": 118.5
  },
  "luminance": 0.46067
}

Semantic roles & 50–950 ramp

primary
#AFBA8A
secondary
#CBC7D8
accent
#41A458
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFBA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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