#AF5229#AF5229

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

Color values

HEX#AF5229
RGBrgb(175, 82, 41)
HSLhsl(18, 62%, 42%)
HSVhsv(18, 77%, 69%)
CMYKcmyk(0%, 53.1%, 76.6%, 31.4%)
CIE-LABlab(46.06, 35.25, 40.83)
CIE-LCHlch(46.06, 53.95, 49.19°)
OKLaboklab(54.82% 0.0979 0.0903)
OKLCHoklch(54.82% 0.133 42.7)
XYZxyz(21.0988, 15.3113, 3.9417)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5229 #2986AF
analogous
#AF2943 #AF5229 #AF9529
triadic
#AF5229 #29AF52 #5229AF
tetradic
#AF5229 #43AF29 #2986AF #9529AF
square
#AF5229 #43AF29 #2986AF #9529AF
split-complementary
#AF5229 #29AF95 #2943AF
monochromatic
#4C2412 #7D3B1D #AF5229 #D36F42 #DE9574

Accessibility & contrast

On white

5.17
#AF5229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF5229
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5229#FFFFFF#000000##FFFFFF
##AF52291.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5229;
/* rgb */ color: rgb(175, 82, 41);
/* oklch */ color: oklch(54.8% 0.133 42.7);
Tailwind
colors: {
  custom: {
    50: '#ce8565',
    500: '#af5229',
    950: '#000000',
  },
}
SCSS
$custom: #af5229;
$custom-light: #ce8565;
$custom-dark: #000000;
JSON
{
  "hex": "#af5229",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 18.358,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.13322,
    "h": 42.7
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#AF5229
secondary
#6EABC6
accent
#B3E543
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5229

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

Preview Lab → · Contrast checker → · Palette generator →

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