#AF7227#AF7227

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

Color values

HEX#AF7227
RGBrgb(175, 114, 39)
HSLhsl(33, 64%, 42%)
HSVhsv(33, 78%, 69%)
CMYKcmyk(0%, 34.9%, 77.7%, 31.4%)
CIE-LABlab(53.27, 17.72, 48.97)
CIE-LCHlch(53.27, 52.08, 70.11°)
OKLaboklab(60.37% 0.0451 0.1073)
OKLCHoklch(60.37% 0.116 67.2)
XYZxyz(24.0646, 21.2973, 4.7625)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7227 #2764AF
analogous
#AF2E27 #AF7227 #A8AF27
triadic
#AF7227 #27AF72 #7227AF
tetradic
#AF7227 #27AF2E #2764AF #AF27A8
square
#AF7227 #27AF2E #2764AF #AF27A8
split-complementary
#AF7227 #27A8AF #2E27AF
monochromatic
#4B3111 #7D511C #AF7227 #D4913F #DFAE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7227#FFFFFF#000000##000000
##AF72271.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)
#86771C
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#BF6363
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7227;
/* rgb */ color: rgb(175, 114, 39);
/* oklch */ color: oklch(60.4% 0.116 67.2);
Tailwind
colors: {
  custom: {
    50: '#cc9a66',
    500: '#af7227',
    950: '#000000',
  },
}
SCSS
$custom: #af7227;
$custom-light: #cc9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#af7227",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 33.088,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.11639,
    "h": 67.2
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#AF7227
secondary
#6B94C6
accent
#8BE741
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7227

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

Preview Lab → · Contrast checker → · Palette generator →

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