#AFBC87#AFBC87

#AFBC87 is a light, moderate yellow-green. Relative luminance 0.468; OKLCH L 77.2% C 0.073 H 119.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#AFBC87
RGBrgb(175, 188, 135)
HSLhsl(75, 28%, 63%)
HSVhsv(75, 28%, 74%)
CMYKcmyk(6.9%, 0%, 28.2%, 26.3%)
CIE-LABlab(74.08, -13.47, 25.39)
CIE-LCHlch(74.08, 28.75, 117.95°)
OKLaboklab(77.18% -0.0359 0.0638)
OKLCHoklch(77.18% 0.073 119.3)
XYZxyz(40.0353, 46.8298, 29.8469)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC87 #9487BC
analogous
#BCAE87 #AFBC87 #94BC87
triadic
#AFBC87 #87AFBC #BC87AF
tetradic
#AFBC87 #87BCAE #9487BC #BC8794
square
#AFBC87 #87BCAE #9487BC #BC8794
split-complementary
#AFBC87 #8794BC #AE87BC
monochromatic
#738148 #95A660 #AFBC87 #C9D2AE #E3E8D6

Accessibility & contrast

On white

2.03
#AFBC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#AFBC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC87
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC87#FFFFFF#000000##000000
##AFBC871.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B684
Deuteranopia (green-blind)
#C1B689
Tritanopia (blue-blind)
#B4B6AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc87;
/* rgb */ color: rgb(175, 188, 135);
/* oklch */ color: oklch(77.2% 0.073 119.3);
Tailwind
colors: {
  custom: {
    50: '#c7d0aa',
    500: '#afbc87',
    950: '#000000',
  },
}
SCSS
$custom: #afbc87;
$custom-light: #c7d0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc87",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 135
  },
  "hsl": {
    "h": 74.717,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.77177,
    "c": 0.07322,
    "h": 119.3
  },
  "luminance": 0.4683
}

Semantic roles & 50–950 ramp

primary
#AFBC87
secondary
#CBC6D9
accent
#3FA758
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBC87

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

Preview Lab → · Contrast checker → · Palette generator →

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