#AF8A40#AF8A40

#AF8A40 is a light, moderate orange. Relative luminance 0.277; OKLCH L 65.4% C 0.102 H 82.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF8A40
RGBrgb(175, 138, 64)
HSLhsl(40, 46%, 47%)
HSVhsv(40, 63%, 69%)
CMYKcmyk(0%, 21.1%, 63.4%, 31.4%)
CIE-LABlab(59.58, 5.69, 44.07)
CIE-LCHlch(59.58, 44.44, 82.64°)
OKLaboklab(65.37% 0.0133 0.1015)
OKLCHoklch(65.37% 0.102 82.5)
XYZxyz(27.6946, 27.6629, 8.7303)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A40 #4065AF
analogous
#AF5340 #AF8A40 #9DAF40
triadic
#AF8A40 #40AF8A #8A40AF
tetradic
#AF8A40 #40AF53 #4065AF #AF409D
square
#AF8A40 #40AF53 #4065AF #AF409D
split-complementary
#AF8A40 #409DAF #5340AF
monochromatic
#55431F #826730 #AF8A40 #C7A665 #D7C092

Accessibility & contrast

On white

3.21
#AF8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AF8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A40
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A40#FFFFFF#000000##000000
##AF8A401.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A38
Deuteranopia (green-blind)
#A39343
Tritanopia (blue-blind)
#BD7F7A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a40;
/* rgb */ color: rgb(175, 138, 64);
/* oklch */ color: oklch(65.4% 0.102 82.5);
Tailwind
colors: {
  custom: {
    50: '#caab78',
    500: '#af8a40',
    950: '#000000',
  },
}
SCSS
$custom: #af8a40;
$custom-light: #caab78;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a40",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 40,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.10238,
    "h": 82.5
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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