#AF812F#AF812F

#AF812F is a light, moderate orange. Relative luminance 0.250; OKLCH L 63.4% C 0.112 H 78.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF812F
RGBrgb(175, 129, 47)
HSLhsl(38, 58%, 44%)
HSVhsv(38, 73%, 69%)
CMYKcmyk(0%, 26.3%, 73.1%, 31.4%)
CIE-LABlab(57.10, 9.69, 49.31)
CIE-LCHlch(57.10, 50.25, 78.88°)
OKLaboklab(63.37% 0.0227 0.1098)
OKLCHoklch(63.37% 0.112 78.3)
XYZxyz(26.0443, 25.0217, 6.1467)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF812F #2F5DAF
analogous
#AF412F #AF812F #9DAF2F
triadic
#AF812F #2FAF81 #812FAF
tetradic
#AF812F #2FAF41 #2F5DAF #AF2F9D
square
#AF812F #2FAF41 #2F5DAF #AF2F9D
split-complementary
#AF812F #2F9DAF #412FAF
monochromatic
#4F3A15 #7F5D22 #AF812F #CFA04C #DCBA7C

Accessibility & contrast

On white

3.50
#AF812F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AF812F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF812F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF812F#FFFFFF#000000##000000
##AF812F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938224
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#BE7470
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af812f;
/* rgb */ color: rgb(175, 129, 47);
/* oklch */ color: oklch(63.4% 0.112 78.3);
Tailwind
colors: {
  custom: {
    50: '#cba56c',
    500: '#af812f',
    950: '#000000',
  },
}
SCSS
$custom: #af812f;
$custom-light: #cba56c;
$custom-dark: #000000;
JSON
{
  "hex": "#af812f",
  "rgb": {
    "r": 175,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 38.438,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63371,
    "c": 0.11207,
    "h": 78.3
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#AF812F
secondary
#7592C4
accent
#7EE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF812F

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

Preview Lab → · Contrast checker → · Palette generator →

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