#AFBC8A#AFBC8A

#AFBC8A is a light, moderate yellow-green. Relative luminance 0.469; OKLCH L 77.2% C 0.069 H 119.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#AFBC8A
RGBrgb(175, 188, 138)
HSLhsl(76, 27%, 64%)
HSVhsv(76, 27%, 74%)
CMYKcmyk(6.9%, 0%, 26.6%, 26.3%)
CIE-LABlab(74.14, -13.04, 23.87)
CIE-LCHlch(74.14, 27.20, 118.66°)
OKLaboklab(77.24% -0.0346 0.0602)
OKLCHoklch(77.24% 0.069 119.9)
XYZxyz(40.2495, 46.9155, 30.9750)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC8A #978ABC
analogous
#BCB08A #AFBC8A #96BC8A
triadic
#AFBC8A #8AAFBC #BC8AAF
tetradic
#AFBC8A #8ABCB0 #978ABC #BC8A96
square
#AFBC8A #8ABCB0 #978ABC #BC8A96
split-complementary
#AFBC8A #8A96BC #B08ABC
monochromatic
#73814A #94A663 #AFBC8A #CAD2B1 #E4E9D8

Accessibility & contrast

On white

2.02
#AFBC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#AFBC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC8A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC8A#FFFFFF#000000##000000
##AFBC8A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B687
Deuteranopia (green-blind)
#C1B68C
Tritanopia (blue-blind)
#B4B7AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc8a;
/* rgb */ color: rgb(175, 188, 138);
/* oklch */ color: oklch(77.2% 0.069 119.9);
Tailwind
colors: {
  custom: {
    50: '#c7d0ac',
    500: '#afbc8a',
    950: '#000000',
  },
}
SCSS
$custom: #afbc8a;
$custom-light: #c7d0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc8a",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 138
  },
  "hsl": {
    "h": 75.6,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.06947,
    "h": 119.9
  },
  "luminance": 0.46915
}

Semantic roles & 50–950 ramp

primary
#AFBC8A
secondary
#CDC8DA
accent
#40A65A
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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