#AF7128#AF7128

#AF7128 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 60.2% C 0.116 H 66.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF7128
RGBrgb(175, 113, 40)
HSLhsl(32, 63%, 42%)
HSVhsv(32, 77%, 69%)
CMYKcmyk(0%, 35.4%, 77.1%, 31.4%)
CIE-LABlab(53.04, 18.32, 48.31)
CIE-LCHlch(53.04, 51.67, 69.23°)
OKLaboklab(60.19% 0.047 0.1061)
OKLCHoklch(60.19% 0.116 66.1)
XYZxyz(23.9692, 21.0797, 4.8135)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7128 #2866AF
analogous
#AF2D28 #AF7128 #AAAF28
triadic
#AF7128 #28AF71 #7128AF
tetradic
#AF7128 #28AF2D #2866AF #AF28AA
square
#AF7128 #28AF2D #2866AF #AF28AA
split-complementary
#AF7128 #28AAAF #2D28AF
monochromatic
#4B3111 #7D511D #AF7128 #D49041 #DFAD73

Accessibility & contrast

On white

4.03
#AF7128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AF7128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7128
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7128#FFFFFF#000000##000000
##AF71281.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761E
Deuteranopia (green-blind)
#948429
Tritanopia (blue-blind)
#BF6262
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7128;
/* rgb */ color: rgb(175, 113, 40);
/* oklch */ color: oklch(60.2% 0.116 66.1);
Tailwind
colors: {
  custom: {
    50: '#cc9a67',
    500: '#af7128',
    950: '#000000',
  },
}
SCSS
$custom: #af7128;
$custom-light: #cc9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#af7128",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 32.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.11606,
    "h": 66.1
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#AF7128
secondary
#6D96C6
accent
#8DE642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7128

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

Preview Lab → · Contrast checker → · Palette generator →

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