#AF662F#AF662F

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

Color values

HEX#AF662F
RGBrgb(175, 102, 47)
HSLhsl(26, 58%, 44%)
HSVhsv(26, 73%, 69%)
CMYKcmyk(0%, 41.7%, 73.1%, 31.4%)
CIE-LABlab(50.48, 24.78, 42.46)
CIE-LCHlch(50.48, 49.16, 59.74°)
OKLaboklab(58.23% 0.0673 0.0952)
OKLCHoklch(58.23% 0.117 54.7)
XYZxyz(22.9456, 18.8244, 5.1138)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF662F #2F78AF
analogous
#AF2F38 #AF662F #AFA62F
triadic
#AF662F #2FAF66 #662FAF
tetradic
#AF662F #38AF2F #2F78AF #A62FAF
square
#AF662F #38AF2F #2F78AF #A62FAF
split-complementary
#AF662F #2FAFA6 #2F38AF
monochromatic
#4F2E15 #7F4A22 #AF662F #CF844C #DCA57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF662F#FFFFFF#000000##000000
##AF662F1.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)
#7B6E29
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#BF575A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af662f;
/* rgb */ color: rgb(175, 102, 47);
/* oklch */ color: oklch(58.2% 0.117 54.7);
Tailwind
colors: {
  custom: {
    50: '#cc926a',
    500: '#af662f',
    950: '#000000',
  },
}
SCSS
$custom: #af662f;
$custom-light: #cc926a;
$custom-dark: #000000;
JSON
{
  "hex": "#af662f",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 25.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.11653,
    "h": 54.7
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#AF662F
secondary
#75A2C4
accent
#9FE147
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#140D07
muted
#837E7A

Preview Lab

Preview with #AF662F

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

Preview Lab → · Contrast checker → · Palette generator →

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