#AFA187#AFA187

#AFA187 is a light, muted orange. Relative luminance 0.364; OKLCH L 71.4% C 0.040 H 83.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA187
RGBrgb(175, 161, 135)
HSLhsl(39, 20%, 61%)
HSVhsv(39, 23%, 69%)
CMYKcmyk(0%, 8%, 22.9%, 31.4%)
CIE-LABlab(66.79, 0.84, 15.40)
CIE-LCHlch(66.79, 15.43, 86.88°)
OKLaboklab(71.41% 0.0049 0.0395)
OKLCHoklch(71.41% 0.04 83)
XYZxyz(34.7973, 36.3538, 28.1009)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA187 #8795AF
analogous
#AF8D87 #AFA187 #A9AF87
triadic
#AFA187 #87AFA1 #A187AF
tetradic
#AFA187 #87AF8D #8795AF #AF87A9
square
#AFA187 #87AF8D #8795AF #AF87A9
split-complementary
#AFA187 #87A9AF #8D87AF
monochromatic
#71634B #958464 #AFA187 #C7BEAC #E0DBD0

Accessibility & contrast

On white

2.54
#AFA187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AFA187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA187
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA187#FFFFFF#000000##000000
##AFA1871.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A085
Deuteranopia (green-blind)
#ABA488
Tritanopia (blue-blind)
#B69C9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa187;
/* rgb */ color: rgb(175, 161, 135);
/* oklch */ color: oklch(71.4% 0.040 83.0);
Tailwind
colors: {
  custom: {
    50: '#c7bcaa',
    500: '#afa187',
    950: '#000000',
  },
}
SCSS
$custom: #afa187;
$custom-light: #c7bcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afa187",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 135
  },
  "hsl": {
    "h": 39,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.03982,
    "h": 83
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

primary
#AFA187
secondary
#C1C7D0
accent
#669E47
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA187

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

Preview Lab → · Contrast checker → · Palette generator →

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