#AFBF7D#AFBF7D

#AFBF7D is a light, moderate yellow-green. Relative luminance 0.479; OKLCH L 77.6% C 0.090 H 119.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#AFBF7D
RGBrgb(175, 191, 125)
HSLhsl(75, 34%, 62%)
HSVhsv(75, 35%, 75%)
CMYKcmyk(8.4%, 0%, 34.6%, 25.1%)
CIE-LABlab(74.73, -16.37, 31.53)
CIE-LCHlch(74.73, 35.52, 117.43°)
OKLaboklab(77.64% -0.0444 0.0781)
OKLCHoklch(77.64% 0.09 119.6)
XYZxyz(40.0116, 47.8564, 26.5274)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF7D #8D7DBF
analogous
#BFAE7D #AFBF7D #8EBF7D
triadic
#AFBF7D #7DAFBF #BF7DAF
tetradic
#AFBF7D #7DBFAE #8D7DBF #BF7D8E
square
#AFBF7D #7DBFAE #8D7DBF #BF7D8E
split-complementary
#AFBF7D #7D8EBF #AE7DBF
monochromatic
#728240 #96AB54 #AFBF7D #C8D3A6 #E1E7CF

Accessibility & contrast

On white

1.99
#AFBF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#AFBF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF7D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF7D#FFFFFF#000000##000000
##AFBF7D1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B878
Deuteranopia (green-blind)
#C5B880
Tritanopia (blue-blind)
#B5B8AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf7d;
/* rgb */ color: rgb(175, 191, 125);
/* oklch */ color: oklch(77.6% 0.090 119.6);
Tailwind
colors: {
  custom: {
    50: '#c7d2a3',
    500: '#afbf7d',
    950: '#000000',
  },
}
SCSS
$custom: #afbf7d;
$custom-light: #c7d2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf7d",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 125
  },
  "hsl": {
    "h": 74.545,
    "s": 34.021,
    "l": 61.961
  },
  "oklch": {
    "l": 0.77642,
    "c": 0.08981,
    "h": 119.6
  },
  "luminance": 0.47856
}

Semantic roles & 50–950 ramp

primary
#AFBF7D
secondary
#C6C0D8
accent
#39AD55
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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