#AF8A3F#AF8A3F

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

Color values

HEX#AF8A3F
RGBrgb(175, 138, 63)
HSLhsl(40, 47%, 47%)
HSVhsv(40, 64%, 69%)
CMYKcmyk(0%, 21.1%, 64%, 31.4%)
CIE-LABlab(59.57, 5.62, 44.55)
CIE-LCHlch(59.57, 44.90, 82.81°)
OKLaboklab(65.36% 0.013 0.1024)
OKLCHoklch(65.36% 0.103 82.8)
XYZxyz(27.6664, 27.6516, 8.5818)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A3F #3F64AF
analogous
#AF523F #AF8A3F #9CAF3F
triadic
#AF8A3F #3FAF8A #8A3FAF
tetradic
#AF8A3F #3FAF52 #3F64AF #AF3F9C
square
#AF8A3F #3FAF52 #3F64AF #AF3F9C
split-complementary
#AF8A3F #3F9CAF #523FAF
monochromatic
#55431F #82672F #AF8A3F #C7A664 #D7C091

Accessibility & contrast

On white

3.22
#AF8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8A3F#FFFFFF#000000##000000
##AF8A3F1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#A39342
Tritanopia (blue-blind)
#BD7E79
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a3f;
/* rgb */ color: rgb(175, 138, 63);
/* oklch */ color: oklch(65.4% 0.103 82.8);
Tailwind
colors: {
  custom: {
    50: '#caab77',
    500: '#af8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #af8a3f;
$custom-light: #caab77;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a3f",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 40.179,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.65358,
    "c": 0.1032,
    "h": 82.8
  },
  "luminance": 0.2765
}

Semantic roles & 50–950 ramp

primary
#AF8A3F
secondary
#879BC3
accent
#7DD751
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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