#AFBF99#AFBF99

#AFBF99 is a light, muted yellow-green. Relative luminance 0.487; OKLCH L 78.2% C 0.055 H 126.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#AFBF99
RGBrgb(175, 191, 153)
HSLhsl(85, 23%, 67%)
HSVhsv(85, 20%, 75%)
CMYKcmyk(8.4%, 0%, 19.9%, 25.1%)
CIE-LABlab(75.25, -12.30, 17.37)
CIE-LCHlch(75.25, 21.28, 125.30°)
OKLaboklab(78.22% -0.0326 0.0445)
OKLCHoklch(78.22% 0.055 126.2)
XYZxyz(42.0589, 48.6753, 37.3103)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF99 #A999BF
analogous
#BFBC99 #AFBF99 #9CBF99
triadic
#AFBF99 #99AFBF #BF99AF
tetradic
#AFBF99 #99BFBC #A999BF #BF999C
square
#AFBF99 #99BFBC #A999BF #BF999C
split-complementary
#AFBF99 #999CBF #BC99BF
monochromatic
#738855 #92A773 #AFBF99 #CCD7BF #EAEEE4

Accessibility & contrast

On white

1.96
#AFBF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#AFBF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF99
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF99#FFFFFF#000000##000000
##AFBF991.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3BA97
Deuteranopia (green-blind)
#C1B99B
Tritanopia (blue-blind)
#B1BBB4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf99;
/* rgb */ color: rgb(175, 191, 153);
/* oklch */ color: oklch(78.2% 0.055 126.2);
Tailwind
colors: {
  custom: {
    50: '#c7d2b7',
    500: '#afbf99',
    950: '#000000',
  },
}
SCSS
$custom: #afbf99;
$custom-light: #c7d2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf99",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 153
  },
  "hsl": {
    "h": 85.263,
    "s": 22.892,
    "l": 67.451
  },
  "oklch": {
    "l": 0.78221,
    "c": 0.05515,
    "h": 126.2
  },
  "luminance": 0.48675
}

Semantic roles & 50–950 ramp

primary
#AFBF99
secondary
#D9D4E0
accent
#44A16B
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBF99

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

Preview Lab → · Contrast checker → · Palette generator →

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