#AFBF84#AFBF84

#AFBF84 is a light, moderate yellow-green. Relative luminance 0.480; OKLCH L 77.8% C 0.081 H 120.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#AFBF84
RGBrgb(175, 191, 132)
HSLhsl(76, 32%, 63%)
HSVhsv(76, 31%, 75%)
CMYKcmyk(8.4%, 0%, 30.9%, 25.1%)
CIE-LABlab(74.85, -15.43, 28.01)
CIE-LCHlch(74.85, 31.98, 118.85°)
OKLaboklab(77.77% -0.0415 0.07)
OKLCHoklch(77.77% 0.081 120.6)
XYZxyz(40.4746, 48.0416, 28.9660)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF84 #9484BF
analogous
#BFB184 #AFBF84 #91BF84
triadic
#AFBF84 #84AFBF #BF84AF
tetradic
#AFBF84 #84BFB1 #9484BF #BF8491
square
#AFBF84 #84BFB1 #9484BF #BF8491
split-complementary
#AFBF84 #8491BF #B184BF
monochromatic
#738445 #95AA5C #AFBF84 #C9D4AC #E3E9D5

Accessibility & contrast

On white

1.98
#AFBF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#AFBF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF84
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF84#FFFFFF#000000##000000
##AFBF841.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B880
Deuteranopia (green-blind)
#C4B887
Tritanopia (blue-blind)
#B4B9B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf84;
/* rgb */ color: rgb(175, 191, 132);
/* oklch */ color: oklch(77.8% 0.081 120.6);
Tailwind
colors: {
  custom: {
    50: '#c7d2a8',
    500: '#afbf84',
    950: '#000000',
  },
}
SCSS
$custom: #afbf84;
$custom-light: #c7d2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf84",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 132
  },
  "hsl": {
    "h": 76.271,
    "s": 31.551,
    "l": 63.333
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.08138,
    "h": 120.6
  },
  "luminance": 0.48042
}

Semantic roles & 50–950 ramp

primary
#AFBF84
secondary
#CBC5DA
accent
#3BAA59
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF84

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

Preview Lab → · Contrast checker → · Palette generator →

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