#AFBF85#AFBF85

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

Color values

HEX#AFBF85
RGBrgb(175, 191, 133)
HSLhsl(77, 31%, 64%)
HSVhsv(77, 30%, 75%)
CMYKcmyk(8.4%, 0%, 30.4%, 25.1%)
CIE-LABlab(74.87, -15.29, 27.51)
CIE-LCHlch(74.87, 31.47, 119.07°)
OKLaboklab(77.79% -0.0411 0.0688)
OKLCHoklch(77.79% 0.08 120.8)
XYZxyz(40.5433, 48.0691, 29.3281)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF85 #9585BF
analogous
#BFB285 #AFBF85 #92BF85
triadic
#AFBF85 #85AFBF #BF85AF
tetradic
#AFBF85 #85BFB2 #9585BF #BF8592
square
#AFBF85 #85BFB2 #9585BF #BF8592
split-complementary
#AFBF85 #8592BF #B285BF
monochromatic
#738445 #95AA5D #AFBF85 #C9D4AD #E4E9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF85#FFFFFF#000000##000000
##AFBF851.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)
#C6B881
Deuteranopia (green-blind)
#C4B888
Tritanopia (blue-blind)
#B4B9B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf85;
/* rgb */ color: rgb(175, 191, 133);
/* oklch */ color: oklch(77.8% 0.080 120.8);
Tailwind
colors: {
  custom: {
    50: '#c7d2a9',
    500: '#afbf85',
    950: '#000000',
  },
}
SCSS
$custom: #afbf85;
$custom-light: #c7d2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf85",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 133
  },
  "hsl": {
    "h": 76.552,
    "s": 31.183,
    "l": 63.529
  },
  "oklch": {
    "l": 0.77793,
    "c": 0.08015,
    "h": 120.8
  },
  "luminance": 0.48069
}

Semantic roles & 50–950 ramp

primary
#AFBF85
secondary
#CBC6DA
accent
#3CAA5A
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF85

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

Preview Lab → · Contrast checker → · Palette generator →

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