#AF8940#AF8940

#AF8940 is a light, moderate orange. Relative luminance 0.274; OKLCH L 65.2% C 0.102 H 81.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF8940
RGBrgb(175, 137, 64)
HSLhsl(39, 46%, 47%)
HSVhsv(39, 63%, 69%)
CMYKcmyk(0%, 21.7%, 63.4%, 31.4%)
CIE-LABlab(59.32, 6.24, 43.78)
CIE-LCHlch(59.32, 44.22, 81.88°)
OKLaboklab(65.16% 0.0149 0.1009)
OKLCHoklch(65.16% 0.102 81.6)
XYZxyz(27.5518, 27.3772, 8.6827)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8940 #4066AF
analogous
#AF5140 #AF8940 #9EAF40
triadic
#AF8940 #40AF89 #8940AF
tetradic
#AF8940 #40AF51 #4066AF #AF409E
square
#AF8940 #40AF51 #4066AF #AF409E
split-complementary
#AF8940 #409EAF #5140AF
monochromatic
#55431F #826630 #AF8940 #C7A565 #D7C092

Accessibility & contrast

On white

3.24
#AF8940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AF8940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8940
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8940#FFFFFF#000000##000000
##AF89401.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998939
Deuteranopia (green-blind)
#A29343
Tritanopia (blue-blind)
#BD7D79
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8940;
/* rgb */ color: rgb(175, 137, 64);
/* oklch */ color: oklch(65.2% 0.102 81.6);
Tailwind
colors: {
  custom: {
    50: '#caab77',
    500: '#af8940',
    950: '#000000',
  },
}
SCSS
$custom: #af8940;
$custom-light: #caab77;
$custom-dark: #000000;
JSON
{
  "hex": "#af8940",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 39.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.65165,
    "c": 0.10198,
    "h": 81.6
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#AF8940
secondary
#889CC3
accent
#7FD652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8940

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

Preview Lab → · Contrast checker → · Palette generator →

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