#AFBF95#AFBF95

#AFBF95 is a light, moderate yellow-green. Relative luminance 0.485; OKLCH L 78.1% C 0.060 H 124.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#AFBF95
RGBrgb(175, 191, 149)
HSLhsl(83, 25%, 67%)
HSVhsv(83, 22%, 75%)
CMYKcmyk(8.4%, 0%, 22%, 25.1%)
CIE-LABlab(75.17, -12.93, 19.40)
CIE-LCHlch(75.17, 23.32, 123.68°)
OKLaboklab(78.13% -0.0343 0.0495)
OKLCHoklch(78.13% 0.06 124.7)
XYZxyz(41.7341, 48.5454, 35.5995)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF95 #A595BF
analogous
#BFBA95 #AFBF95 #9ABF95
triadic
#AFBF95 #95AFBF #BF95AF
tetradic
#AFBF95 #95BFBA #A595BF #BF959A
square
#AFBF95 #95BFBA #A595BF #BF959A
split-complementary
#AFBF95 #959ABF #BA95BF
monochromatic
#738852 #92A86F #AFBF95 #CCD6BB #E9EDE1

Accessibility & contrast

On white

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

On black

10.71
#AFBF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF95
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF95#FFFFFF#000000##000000
##AFBF951.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4BA92
Deuteranopia (green-blind)
#C2B997
Tritanopia (blue-blind)
#B2BBB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf95;
/* rgb */ color: rgb(175, 191, 149);
/* oklch */ color: oklch(78.1% 0.060 124.7);
Tailwind
colors: {
  custom: {
    50: '#c7d2b4',
    500: '#afbf95',
    950: '#000000',
  },
}
SCSS
$custom: #afbf95;
$custom-light: #c7d2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf95",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 149
  },
  "hsl": {
    "h": 82.857,
    "s": 24.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.78129,
    "c": 0.0602,
    "h": 124.7
  },
  "luminance": 0.48545
}

Semantic roles & 50–950 ramp

primary
#AFBF95
secondary
#D6D1DF
accent
#42A367
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBF95

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

Preview Lab → · Contrast checker → · Palette generator →

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