#AF7228#AF7228

#AF7228 is a mid, moderate orange. Relative luminance 0.213; OKLCH L 60.4% C 0.116 H 66.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF7228
RGBrgb(175, 114, 40)
HSLhsl(33, 63%, 42%)
HSVhsv(33, 77%, 69%)
CMYKcmyk(0%, 34.9%, 77.1%, 31.4%)
CIE-LABlab(53.28, 17.76, 48.55)
CIE-LCHlch(53.28, 51.70, 69.90°)
OKLaboklab(60.38% 0.0454 0.1066)
OKLCHoklch(60.38% 0.116 66.9)
XYZxyz(24.0814, 21.3041, 4.8509)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7228 #2865AF
analogous
#AF2F28 #AF7228 #A9AF28
triadic
#AF7228 #28AF72 #7228AF
tetradic
#AF7228 #28AF2F #2865AF #AF28A9
square
#AF7228 #28AF2F #2865AF #AF28A9
split-complementary
#AF7228 #28A9AF #2F28AF
monochromatic
#4B3111 #7D521D #AF7228 #D49141 #DFAE73

Accessibility & contrast

On white

3.99
#AF7228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF7228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7228
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7228#FFFFFF#000000##000000
##AF72281.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#BF6463
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7228;
/* rgb */ color: rgb(175, 114, 40);
/* oklch */ color: oklch(60.4% 0.116 66.9);
Tailwind
colors: {
  custom: {
    50: '#cc9a67',
    500: '#af7228',
    950: '#000000',
  },
}
SCSS
$custom: #af7228;
$custom-light: #cc9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#af7228",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 32.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.11587,
    "h": 66.9
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#AF7228
secondary
#6D95C6
accent
#8CE642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7228

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

Preview Lab → · Contrast checker → · Palette generator →

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