#AFBF87#AFBF87

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

Color values

HEX#AFBF87
RGBrgb(175, 191, 135)
HSLhsl(77, 30%, 64%)
HSVhsv(77, 29%, 75%)
CMYKcmyk(8.4%, 0%, 29.3%, 25.1%)
CIE-LABlab(74.90, -15.01, 26.50)
CIE-LCHlch(74.90, 30.45, 119.53°)
OKLaboklab(77.83% -0.0402 0.0665)
OKLCHoklch(77.83% 0.078 121.2)
XYZxyz(40.6828, 48.1249, 30.0628)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF87 #9787BF
analogous
#BFB387 #AFBF87 #93BF87
triadic
#AFBF87 #87AFBF #BF87AF
tetradic
#AFBF87 #87BFB3 #9787BF #BF8793
square
#AFBF87 #87BFB3 #9787BF #BF8793
split-complementary
#AFBF87 #8793BF #B387BF
monochromatic
#738547 #94AA5F #AFBF87 #CAD4AF #E4EAD7

Accessibility & contrast

On white

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

On black

10.63
#AFBF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF87
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF87#FFFFFF#000000##000000
##AFBF871.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf87;
/* rgb */ color: rgb(175, 191, 135);
/* oklch */ color: oklch(77.8% 0.078 121.2);
Tailwind
colors: {
  custom: {
    50: '#c7d2aa',
    500: '#afbf87',
    950: '#000000',
  },
}
SCSS
$custom: #afbf87;
$custom-light: #c7d2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf87",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 135
  },
  "hsl": {
    "h": 77.143,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.77832,
    "c": 0.07769,
    "h": 121.2
  },
  "luminance": 0.48125
}

Semantic roles & 50–950 ramp

primary
#AFBF87
secondary
#CDC7DB
accent
#3CA95B
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF87

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

Preview Lab → · Contrast checker → · Palette generator →

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