#AFBA87#AFBA87

#AFBA87 is a light, moderate yellow-green. Relative luminance 0.460; OKLCH L 76.7% C 0.070 H 118.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFBA87
RGBrgb(175, 186, 135)
HSLhsl(73, 27%, 63%)
HSVhsv(73, 27%, 73%)
CMYKcmyk(5.9%, 0%, 27.4%, 27.1%)
CIE-LABlab(73.53, -12.44, 24.65)
CIE-LCHlch(73.53, 27.62, 116.78°)
OKLaboklab(76.74% -0.033 0.0621)
OKLCHoklch(76.74% 0.07 118)
XYZxyz(39.6110, 45.9812, 29.7055)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA87 #9287BA
analogous
#BAAB87 #AFBA87 #95BA87
triadic
#AFBA87 #87AFBA #BA87AF
tetradic
#AFBA87 #87BAAB #9287BA #BA8795
square
#AFBA87 #87BAAB #9287BA #BA8795
split-complementary
#AFBA87 #8795BA #AB87BA
monochromatic
#737E49 #95A460 #AFBA87 #C9D0AE #E3E7D5

Accessibility & contrast

On white

2.06
#AFBA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFBA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA87
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA87#FFFFFF#000000##000000
##AFBA871.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B484
Deuteranopia (green-blind)
#C0B589
Tritanopia (blue-blind)
#B4B4AC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afba87;
/* rgb */ color: rgb(175, 186, 135);
/* oklch */ color: oklch(76.7% 0.070 118.0);
Tailwind
colors: {
  custom: {
    50: '#c7ceaa',
    500: '#afba87',
    950: '#000000',
  },
}
SCSS
$custom: #afba87;
$custom-light: #c7ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afba87",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 135
  },
  "hsl": {
    "h": 72.941,
    "s": 26.984,
    "l": 62.941
  },
  "oklch": {
    "l": 0.76742,
    "c": 0.07027,
    "h": 118
  },
  "luminance": 0.45981
}

Semantic roles & 50–950 ramp

primary
#AFBA87
secondary
#C9C5D8
accent
#40A656
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFBA87

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

Preview Lab → · Contrast checker → · Palette generator →

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