#AF662B#AF662B

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

Color values

HEX#AF662B
RGBrgb(175, 102, 43)
HSLhsl(27, 61%, 43%)
HSVhsv(27, 75%, 69%)
CMYKcmyk(0%, 41.7%, 75.4%, 31.4%)
CIE-LABlab(50.44, 24.58, 44.36)
CIE-LCHlch(50.44, 50.72, 61.01°)
OKLaboklab(58.19% 0.0661 0.0984)
OKLCHoklch(58.19% 0.118 56.1)
XYZxyz(22.8686, 18.7936, 4.7082)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF662B #2B74AF
analogous
#AF2B32 #AF662B #AFA82B
triadic
#AF662B #2BAF66 #662BAF
tetradic
#AF662B #32AF2B #2B74AF #A82BAF
square
#AF662B #32AF2B #2B74AF #A82BAF
split-complementary
#AF662B #2BAFA8 #2B32AF
monochromatic
#4D2D13 #7E491F #AF662B #D18446 #DEA577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF662B#FFFFFF#000000##000000
##AF662B1.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)
#7C6E24
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#BF565A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af662b;
/* rgb */ color: rgb(175, 102, 43);
/* oklch */ color: oklch(58.2% 0.118 56.1);
Tailwind
colors: {
  custom: {
    50: '#cd9268',
    500: '#af662b',
    950: '#000000',
  },
}
SCSS
$custom: #af662b;
$custom-light: #cd9268;
$custom-dark: #000000;
JSON
{
  "hex": "#af662b",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 43
  },
  "hsl": {
    "h": 26.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.11847,
    "h": 56.1
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#AF662B
secondary
#709FC5
accent
#9CE444
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#150D06
muted
#837E7A

Preview Lab

Preview with #AF662B

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

Preview Lab → · Contrast checker → · Palette generator →

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