#AFBF89#AFBF89

#AFBF89 is a light, moderate yellow-green. Relative luminance 0.482; OKLCH L 77.9% C 0.075 H 121.6°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AFBF89
RGBrgb(175, 191, 137)
HSLhsl(78, 30%, 64%)
HSVhsv(78, 28%, 75%)
CMYKcmyk(8.4%, 0%, 28.3%, 25.1%)
CIE-LABlab(74.94, -14.73, 25.49)
CIE-LCHlch(74.94, 29.44, 120.02°)
OKLaboklab(77.87% -0.0394 0.0641)
OKLCHoklch(77.87% 0.075 121.6)
XYZxyz(40.8250, 48.1817, 30.8113)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF89 #9989BF
analogous
#BFB489 #AFBF89 #94BF89
triadic
#AFBF89 #89AFBF #BF89AF
tetradic
#AFBF89 #89BFB4 #9989BF #BF8994
square
#AFBF89 #89BFB4 #9989BF #BF8994
split-complementary
#AFBF89 #8994BF #B489BF
monochromatic
#738548 #94A961 #AFBF89 #CAD5B1 #E5EAD8

Accessibility & contrast

On white

1.97
#AFBF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#AFBF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF89
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF89#FFFFFF#000000##000000
##AFBF891.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B985
Deuteranopia (green-blind)
#C3B98B
Tritanopia (blue-blind)
#B3BAB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf89;
/* rgb */ color: rgb(175, 191, 137);
/* oklch */ color: oklch(77.9% 0.075 121.6);
Tailwind
colors: {
  custom: {
    50: '#c7d2ab',
    500: '#afbf89',
    950: '#000000',
  },
}
SCSS
$custom: #afbf89;
$custom-light: #c7d2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf89",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 137
  },
  "hsl": {
    "h": 77.778,
    "s": 29.67,
    "l": 64.314
  },
  "oklch": {
    "l": 0.77873,
    "c": 0.07523,
    "h": 121.6
  },
  "luminance": 0.48182
}

Semantic roles & 50–950 ramp

primary
#AFBF89
secondary
#CEC9DB
accent
#3DA85D
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF89

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

Preview Lab → · Contrast checker → · Palette generator →

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