#AF6228#AF6228

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

Color values

HEX#AF6228
RGBrgb(175, 98, 40)
HSLhsl(26, 63%, 42%)
HSVhsv(26, 77%, 69%)
CMYKcmyk(0%, 44%, 77.1%, 31.4%)
CIE-LABlab(49.50, 26.65, 44.82)
CIE-LCHlch(49.50, 52.15, 59.26°)
OKLaboklab(57.46% 0.0718 0.0986)
OKLCHoklch(57.46% 0.122 53.9)
XYZxyz(22.4319, 18.0050, 4.3011)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6228 #2875AF
analogous
#AF2831 #AF6228 #AFA628
triadic
#AF6228 #28AF62 #6228AF
tetradic
#AF6228 #31AF28 #2875AF #A628AF
square
#AF6228 #31AF28 #2875AF #A628AF
split-complementary
#AF6228 #28AFA6 #2831AF
monochromatic
#4B2A11 #7D461D #AF6228 #D48041 #DFA173

Accessibility & contrast

On white

4.56
#AF6228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF6228#FFFFFF#000000##000000
##AF62281.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af6228;
/* rgb */ color: rgb(175, 98, 40);
/* oklch */ color: oklch(57.5% 0.122 53.9);
Tailwind
colors: {
  custom: {
    50: '#cd8f66',
    500: '#af6228',
    950: '#000000',
  },
}
SCSS
$custom: #af6228;
$custom-light: #cd8f66;
$custom-dark: #000000;
JSON
{
  "hex": "#af6228",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 25.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.12198,
    "h": 53.9
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#AF6228
secondary
#6DA0C6
accent
#9FE642
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF6228

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

Preview Lab → · Contrast checker → · Palette generator →

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