#AF5226#AF5226

#AF5226 is a mid, vivid orange. Relative luminance 0.153; OKLCH L 54.8% C 0.134 H 43.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF5226
RGBrgb(175, 82, 38)
HSLhsl(19, 64%, 42%)
HSVhsv(19, 78%, 69%)
CMYKcmyk(0%, 53.1%, 78.3%, 31.4%)
CIE-LABlab(46.03, 35.13, 42.31)
CIE-LCHlch(46.03, 54.99, 50.29°)
OKLaboklab(54.79% 0.0971 0.0927)
OKLCHoklch(54.79% 0.134 43.7)
XYZxyz(21.0484, 15.2912, 3.6764)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5226 #2683AF
analogous
#AF263F #AF5226 #AF9726
triadic
#AF5226 #26AF52 #5226AF
tetradic
#AF5226 #3FAF26 #2683AF #9726AF
square
#AF5226 #3FAF26 #2683AF #9726AF
split-complementary
#AF5226 #26AF97 #263FAF
monochromatic
#4A2310 #7D3A1B #AF5226 #D56E3D #E09470

Accessibility & contrast

On white

5.18
#AF5226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF5226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5226
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5226#FFFFFF#000000##FFFFFF
##AF52261.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6020
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#C03E49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5226;
/* rgb */ color: rgb(175, 82, 38);
/* oklch */ color: oklch(54.8% 0.134 43.7);
Tailwind
colors: {
  custom: {
    50: '#ce8563',
    500: '#af5226',
    950: '#000000',
  },
}
SCSS
$custom: #af5226;
$custom-light: #ce8563;
$custom-dark: #000000;
JSON
{
  "hex": "#af5226",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 19.27,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.1342,
    "h": 43.7
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#AF5226
secondary
#6AA9C7
accent
#B2E740
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AF5226

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

Preview Lab → · Contrast checker → · Palette generator →

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