#AFA17F#AFA17F

#AFA17F is a light, muted orange. Relative luminance 0.361; OKLCH L 71.2% C 0.050 H 88.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA17F
RGBrgb(175, 161, 127)
HSLhsl(43, 23%, 59%)
HSVhsv(43, 27%, 69%)
CMYKcmyk(0%, 8%, 27.4%, 31.4%)
CIE-LABlab(66.62, -0.32, 19.59)
CIE-LCHlch(66.62, 19.59, 90.93°)
OKLaboklab(71.22% 0.0015 0.0497)
OKLCHoklch(71.22% 0.05 88.3)
XYZxyz(34.2551, 36.1369, 25.2452)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA17F #7F8DAF
analogous
#AF897F #AFA17F #A5AF7F
triadic
#AFA17F #7FAFA1 #A17FAF
tetradic
#AFA17F #7FAF89 #7F8DAF #AF7FA5
square
#AFA17F #7FAF89 #7F8DAF #AF7FA5
split-complementary
#AFA17F #7FA5AF #897FAF
monochromatic
#6F6245 #94845D #AFA17F #C7BDA5 #DED8CA

Accessibility & contrast

On white

2.55
#AFA17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AFA17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA17F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA17F#FFFFFF#000000##000000
##AFA17F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07D
Deuteranopia (green-blind)
#ADA480
Tritanopia (blue-blind)
#B79B98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa17f;
/* rgb */ color: rgb(175, 161, 127);
/* oklch */ color: oklch(71.2% 0.050 88.3);
Tailwind
colors: {
  custom: {
    50: '#c7bca4',
    500: '#afa17f',
    950: '#000000',
  },
}
SCSS
$custom: #afa17f;
$custom-light: #c7bca4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa17f",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 127
  },
  "hsl": {
    "h": 42.5,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.71222,
    "c": 0.04973,
    "h": 88.3
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#AFA17F
secondary
#BCC1CE
accent
#82C068
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA17F

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

Preview Lab → · Contrast checker → · Palette generator →

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