#AFBF82#AFBF82

#AFBF82 is a light, moderate yellow-green. Relative luminance 0.480; OKLCH L 77.7% C 0.084 H 120.3°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AFBF82
RGBrgb(175, 191, 130)
HSLhsl(76, 32%, 63%)
HSVhsv(76, 32%, 75%)
CMYKcmyk(8.4%, 0%, 31.9%, 25.1%)
CIE-LABlab(74.82, -15.70, 29.02)
CIE-LCHlch(74.82, 32.99, 118.42°)
OKLaboklab(77.74% -0.0423 0.0723)
OKLCHoklch(77.74% 0.084 120.3)
XYZxyz(40.3390, 47.9873, 28.2521)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF82 #9282BF
analogous
#BFB082 #AFBF82 #90BF82
triadic
#AFBF82 #82AFBF #BF82AF
tetradic
#AFBF82 #82BFB0 #9282BF #BF8290
square
#AFBF82 #82BFB0 #9282BF #BF8290
split-complementary
#AFBF82 #8290BF #B082BF
monochromatic
#738343 #95AA5A #AFBF82 #C9D4AA #E3E8D3

Accessibility & contrast

On white

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

On black

10.60
#AFBF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF82
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF82#FFFFFF#000000##000000
##AFBF821.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87E
Deuteranopia (green-blind)
#C4B885
Tritanopia (blue-blind)
#B4B9AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf82;
/* rgb */ color: rgb(175, 191, 130);
/* oklch */ color: oklch(77.7% 0.084 120.3);
Tailwind
colors: {
  custom: {
    50: '#c7d2a7',
    500: '#afbf82',
    950: '#000000',
  },
}
SCSS
$custom: #afbf82;
$custom-light: #c7d2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf82",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 130
  },
  "hsl": {
    "h": 75.738,
    "s": 32.275,
    "l": 62.941
  },
  "oklch": {
    "l": 0.77735,
    "c": 0.08381,
    "h": 120.3
  },
  "luminance": 0.47987
}

Semantic roles & 50–950 ramp

primary
#AFBF82
secondary
#C9C3D9
accent
#3AAB58
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF82

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

Preview Lab → · Contrast checker → · Palette generator →

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