#AF7A2F#AF7A2F

#AF7A2F is a mid, moderate orange. Relative luminance 0.232; OKLCH L 62.0% C 0.111 H 72.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF7A2F
RGBrgb(175, 122, 47)
HSLhsl(35, 58%, 44%)
HSVhsv(35, 73%, 69%)
CMYKcmyk(0%, 30.3%, 73.1%, 31.4%)
CIE-LABlab(55.32, 13.60, 47.50)
CIE-LCHlch(55.32, 49.41, 74.02°)
OKLaboklab(61.98% 0.0341 0.1059)
OKLCHoklch(61.98% 0.111 72.1)
XYZxyz(25.1536, 23.2404, 5.8499)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7A2F #2F64AF
analogous
#AF3A2F #AF7A2F #A4AF2F
triadic
#AF7A2F #2FAF7A #7A2FAF
tetradic
#AF7A2F #2FAF3A #2F64AF #AF2FA4
square
#AF7A2F #2FAF3A #2F64AF #AF2FA4
split-complementary
#AF7A2F #2FA4AF #3A2FAF
monochromatic
#4F3715 #7F5822 #AF7A2F #CF994C #DCB47C

Accessibility & contrast

On white

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

On black

5.65
#AF7A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7A2F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7A2F#FFFFFF#000000##000000
##AF7A2F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#BF6D6A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7a2f;
/* rgb */ color: rgb(175, 122, 47);
/* oklch */ color: oklch(62.0% 0.111 72.1);
Tailwind
colors: {
  custom: {
    50: '#cba06c',
    500: '#af7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #af7a2f;
$custom-light: #cba06c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7a2f",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 35.156,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.11126,
    "h": 72.1
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#AF7A2F
secondary
#7596C4
accent
#87E147
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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