#AF8A2F#AF8A2F

#AF8A2F is a light, moderate orange. Relative luminance 0.275; OKLCH L 65.2% C 0.115 H 85.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF8A2F
RGBrgb(175, 138, 47)
HSLhsl(43, 58%, 44%)
HSVhsv(43, 73%, 69%)
CMYKcmyk(0%, 21.1%, 73.1%, 31.4%)
CIE-LABlab(59.43, 4.69, 51.65)
CIE-LCHlch(59.43, 51.86, 84.82°)
OKLaboklab(65.2% 0.0082 0.1147)
OKLCHoklch(65.2% 0.115 85.9)
XYZxyz(27.2824, 27.4980, 6.5595)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A2F #2F54AF
analogous
#AF4A2F #AF8A2F #94AF2F
triadic
#AF8A2F #2FAF8A #8A2FAF
tetradic
#AF8A2F #2FAF4A #2F54AF #AF2F94
square
#AF8A2F #2FAF4A #2F54AF #AF2F94
split-complementary
#AF8A2F #2F94AF #4A2FAF
monochromatic
#4F3E15 #7F6422 #AF8A2F #CFA94C #DCC07C

Accessibility & contrast

On white

3.23
#AF8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AF8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A2F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A2F#FFFFFF#000000##000000
##AF8A2F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#BE7E78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a2f;
/* rgb */ color: rgb(175, 138, 47);
/* oklch */ color: oklch(65.2% 0.115 85.9);
Tailwind
colors: {
  custom: {
    50: '#cbab6d',
    500: '#af8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #af8a2f;
$custom-light: #cbab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a2f",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 42.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.11502,
    "h": 85.9
  },
  "luminance": 0.27496
}

Semantic roles & 50–950 ramp

primary
#AF8A2F
secondary
#758CC4
accent
#73E147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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