#AF7A2A#AF7A2A

#AF7A2A is a mid, moderate orange. Relative luminance 0.232; OKLCH L 61.9% C 0.114 H 73.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF7A2A
RGBrgb(175, 122, 42)
HSLhsl(36, 61%, 43%)
HSVhsv(36, 76%, 69%)
CMYKcmyk(0%, 30.3%, 76%, 31.4%)
CIE-LABlab(55.28, 13.37, 49.65)
CIE-LCHlch(55.28, 51.42, 74.93°)
OKLaboklab(61.94% 0.0328 0.1094)
OKLCHoklch(61.94% 0.114 73.3)
XYZxyz(25.0585, 23.2023, 5.3488)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7A2A #2A5FAF
analogous
#AF372A #AF7A2A #A2AF2A
triadic
#AF7A2A #2AAF7A #7A2AAF
tetradic
#AF7A2A #2AAF37 #2A5FAF #AF2AA2
square
#AF7A2A #2AAF37 #2A5FAF #AF2AA2
split-complementary
#AF7A2A #2AA2AF #372AAF
monochromatic
#4C3512 #7E581E #AF7A2A #D29A44 #DEB475

Accessibility & contrast

On white

3.72
#AF7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AF7A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7A2A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7A2A#FFFFFF#000000##000000
##AF7A2A1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#BF6C6A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7a2a;
/* rgb */ color: rgb(175, 122, 42);
/* oklch */ color: oklch(61.9% 0.114 73.3);
Tailwind
colors: {
  custom: {
    50: '#cca069',
    500: '#af7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #af7a2a;
$custom-light: #cca069;
$custom-dark: #000000;
JSON
{
  "hex": "#af7a2a",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 36.09,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.11422,
    "h": 73.3
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#AF7A2A
secondary
#6F92C6
accent
#84E443
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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