#AF6227#AF6227

#AF6227 is a mid, vivid orange. Relative luminance 0.180; OKLCH L 57.4% C 0.122 H 54.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF6227
RGBrgb(175, 98, 39)
HSLhsl(26, 64%, 42%)
HSVhsv(26, 78%, 69%)
CMYKcmyk(0%, 44%, 77.7%, 31.4%)
CIE-LABlab(49.49, 26.61, 45.28)
CIE-LCHlch(49.49, 52.52, 59.55°)
OKLaboklab(57.45% 0.0715 0.0993)
OKLCHoklch(57.45% 0.122 54.3)
XYZxyz(22.4151, 17.9983, 4.2127)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6227 #2774AF
analogous
#AF2730 #AF6227 #AFA627
triadic
#AF6227 #27AF62 #6227AF
tetradic
#AF6227 #30AF27 #2774AF #A627AF
square
#AF6227 #30AF27 #2774AF #A627AF
split-complementary
#AF6227 #27AFA6 #2730AF
monochromatic
#4B2A11 #7D461C #AF6227 #D4803F #DFA171

Accessibility & contrast

On white

4.57
#AF6227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF6227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6227
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6227#FFFFFF#000000##000000
##AF62271.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#C05156
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af6227;
/* rgb */ color: rgb(175, 98, 39);
/* oklch */ color: oklch(57.4% 0.122 54.3);
Tailwind
colors: {
  custom: {
    50: '#cd8f65',
    500: '#af6227',
    950: '#000000',
  },
}
SCSS
$custom: #af6227;
$custom-light: #cd8f65;
$custom-dark: #000000;
JSON
{
  "hex": "#af6227",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 26.029,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.12241,
    "h": 54.3
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#AF6227
secondary
#6B9FC6
accent
#9FE741
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF6227

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

Preview Lab → · Contrast checker → · Palette generator →

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