#AFBB87#AFBB87

#AFBB87 is a light, moderate yellow-green. Relative luminance 0.464; OKLCH L 77.0% C 0.072 H 118.7°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBB87
RGBrgb(175, 187, 135)
HSLhsl(74, 28%, 63%)
HSVhsv(74, 28%, 73%)
CMYKcmyk(6.4%, 0%, 27.8%, 26.7%)
CIE-LABlab(73.81, -12.96, 25.02)
CIE-LCHlch(73.81, 28.18, 117.38°)
OKLaboklab(76.96% -0.0344 0.063)
OKLCHoklch(76.96% 0.072 118.7)
XYZxyz(39.8224, 46.4040, 29.7759)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB87 #9387BB
analogous
#BBAD87 #AFBB87 #95BB87
triadic
#AFBB87 #87AFBB #BB87AF
tetradic
#AFBB87 #87BBAD #9387BB #BB8795
square
#AFBB87 #87BBAD #9387BB #BB8795
split-complementary
#AFBB87 #8795BB #AD87BB
monochromatic
#737F48 #95A560 #AFBB87 #C9D1AE #E3E7D5

Accessibility & contrast

On white

2.04
#AFBB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AFBB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB87
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB87#FFFFFF#000000##000000
##AFBB871.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B584
Deuteranopia (green-blind)
#C0B689
Tritanopia (blue-blind)
#B4B5AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb87;
/* rgb */ color: rgb(175, 187, 135);
/* oklch */ color: oklch(77.0% 0.072 118.7);
Tailwind
colors: {
  custom: {
    50: '#c7cfaa',
    500: '#afbb87',
    950: '#000000',
  },
}
SCSS
$custom: #afbb87;
$custom-light: #c7cfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb87",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 135
  },
  "hsl": {
    "h": 73.846,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.76959,
    "c": 0.07175,
    "h": 118.7
  },
  "luminance": 0.46404
}

Semantic roles & 50–950 ramp

primary
#AFBB87
secondary
#CAC6D8
accent
#3FA657
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFBB87

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

Preview Lab → · Contrast checker → · Palette generator →

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