#AF642A#AF642A

#AF642A is a mid, moderate orange. Relative luminance 0.184; OKLCH L 57.8% C 0.120 H 54.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF642A
RGBrgb(175, 100, 42)
HSLhsl(26, 61%, 43%)
HSVhsv(26, 76%, 69%)
CMYKcmyk(0%, 42.9%, 76%, 31.4%)
CIE-LABlab(49.98, 25.64, 44.36)
CIE-LCHlch(49.98, 51.24, 59.97°)
OKLaboklab(57.83% 0.0691 0.0981)
OKLCHoklch(57.83% 0.12 54.9)
XYZxyz(22.6563, 18.3979, 4.5481)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF642A #2A75AF
analogous
#AF2A33 #AF642A #AFA62A
triadic
#AF642A #2AAF64 #642AAF
tetradic
#AF642A #33AF2A #2A75AF #A62AAF
square
#AF642A #33AF2A #2A75AF #A62AAF
split-complementary
#AF642A #2AAFA6 #2A33AF
monochromatic
#4C2C12 #7E481E #AF642A #D28244 #DEA375

Accessibility & contrast

On white

4.49
#AF642A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF642A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF642A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF642A#FFFFFF#000000##000000
##AF642A1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D23
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#C05458
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af642a;
/* rgb */ color: rgb(175, 100, 42);
/* oklch */ color: oklch(57.8% 0.120 54.9);
Tailwind
colors: {
  custom: {
    50: '#cd9167',
    500: '#af642a',
    950: '#000000',
  },
}
SCSS
$custom: #af642a;
$custom-light: #cd9167;
$custom-dark: #000000;
JSON
{
  "hex": "#af642a",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 26.165,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.11998,
    "h": 54.9
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#AF642A
secondary
#6FA0C6
accent
#9EE443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF642A

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

Preview Lab → · Contrast checker → · Palette generator →

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