#AF662A#AF662A

#AF662A is a mid, moderate orange. Relative luminance 0.188; OKLCH L 58.2% C 0.119 H 56.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF662A
RGBrgb(175, 102, 42)
HSLhsl(27, 61%, 43%)
HSVhsv(27, 76%, 69%)
CMYKcmyk(0%, 41.7%, 76%, 31.4%)
CIE-LABlab(50.44, 24.54, 44.82)
CIE-LCHlch(50.44, 51.10, 61.30°)
OKLaboklab(58.18% 0.0658 0.0991)
OKLCHoklch(58.18% 0.119 56.4)
XYZxyz(22.8504, 18.7863, 4.6128)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF662A #2A73AF
analogous
#AF2A30 #AF662A #AFA92A
triadic
#AF662A #2AAF66 #662AAF
tetradic
#AF662A #30AF2A #2A73AF #A92AAF
square
#AF662A #30AF2A #2A73AF #A92AAF
split-complementary
#AF662A #2AAFA9 #2A30AF
monochromatic
#4C2C12 #7E491E #AF662A #D28444 #DEA575

Accessibility & contrast

On white

4.41
#AF662A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AF662A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF662A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF662A#FFFFFF#000000##000000
##AF662A1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#BF5659
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af662a;
/* rgb */ color: rgb(175, 102, 42);
/* oklch */ color: oklch(58.2% 0.119 56.4);
Tailwind
colors: {
  custom: {
    50: '#cd9267',
    500: '#af662a',
    950: '#000000',
  },
}
SCSS
$custom: #af662a;
$custom-light: #cd9267;
$custom-dark: #000000;
JSON
{
  "hex": "#af662a",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 27.068,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.11895,
    "h": 56.4
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#AF662A
secondary
#6F9FC6
accent
#9CE443
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#150D06
muted
#837E7A

Preview Lab

Preview with #AF662A

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

Preview Lab → · Contrast checker → · Palette generator →

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