#AFBF91#AFBF91

#AFBF91 is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 78.0% C 0.065 H 123.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AFBF91
RGBrgb(175, 191, 145)
HSLhsl(81, 26%, 66%)
HSVhsv(81, 24%, 75%)
CMYKcmyk(8.4%, 0%, 24.1%, 25.1%)
CIE-LABlab(75.09, -13.55, 21.43)
CIE-LCHlch(75.09, 25.36, 122.29°)
OKLaboklab(78.04% -0.036 0.0544)
OKLCHoklch(78.04% 0.065 123.5)
XYZxyz(41.4202, 48.4198, 33.9464)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF91 #A191BF
analogous
#BFB891 #AFBF91 #98BF91
triadic
#AFBF91 #91AFBF #BF91AF
tetradic
#AFBF91 #91BFB8 #A191BF #BF9198
square
#AFBF91 #91BFB8 #A191BF #BF9198
split-complementary
#AFBF91 #9198BF #B891BF
monochromatic
#73874F #93A86A #AFBF91 #CBD6B8 #E7ECDE

Accessibility & contrast

On white

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

On black

10.68
#AFBF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF91
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF91#FFFFFF#000000##000000
##AFBF911.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B98E
Deuteranopia (green-blind)
#C2B993
Tritanopia (blue-blind)
#B2BAB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf91;
/* rgb */ color: rgb(175, 191, 145);
/* oklch */ color: oklch(78.0% 0.065 123.5);
Tailwind
colors: {
  custom: {
    50: '#c7d2b1',
    500: '#afbf91',
    950: '#000000',
  },
}
SCSS
$custom: #afbf91;
$custom-light: #c7d2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf91",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 145
  },
  "hsl": {
    "h": 80.87,
    "s": 26.437,
    "l": 65.882
  },
  "oklch": {
    "l": 0.78041,
    "c": 0.06524,
    "h": 123.5
  },
  "luminance": 0.4842
}

Semantic roles & 50–950 ramp

primary
#AFBF91
secondary
#D4CEDE
accent
#40A563
background
#FCFCFA
surface
#F8F9F5
border
#D1D2CF
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF91

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

Preview Lab → · Contrast checker → · Palette generator →

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