#AF8022#AF8022

#AF8022 is a light, moderate orange. Relative luminance 0.247; OKLCH L 63.1% C 0.119 H 79.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF8022
RGBrgb(175, 128, 34)
HSLhsl(40, 67%, 41%)
HSVhsv(40, 81%, 69%)
CMYKcmyk(0%, 26.9%, 80.6%, 31.4%)
CIE-LABlab(56.75, 9.69, 54.19)
CIE-LCHlch(56.75, 55.05, 79.86°)
OKLaboklab(63.07% 0.0211 0.1173)
OKLCHoklch(63.07% 0.119 79.8)
XYZxyz(25.6889, 24.6698, 4.9218)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8022 #2251AF
analogous
#AF3922 #AF8022 #97AF22
triadic
#AF8022 #22AF80 #8022AF
tetradic
#AF8022 #22AF39 #2251AF #AF2297
square
#AF8022 #22AF39 #2251AF #AF2297
split-complementary
#AF8022 #2297AF #3922AF
monochromatic
#49350E #7C5B18 #AF8022 #D8A236 #E2BA69

Accessibility & contrast

On white

3.54
#AF8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AF8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8022
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8022#FFFFFF#000000##000000
##AF80221.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#BF726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af8022;
/* rgb */ color: rgb(175, 128, 34);
/* oklch */ color: oklch(63.1% 0.119 79.8);
Tailwind
colors: {
  custom: {
    50: '#cca465',
    500: '#af8022',
    950: '#000000',
  },
}
SCSS
$custom: #af8022;
$custom-light: #cca465;
$custom-dark: #000000;
JSON
{
  "hex": "#af8022",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 40,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.11921,
    "h": 79.8
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#AF8022
secondary
#6586C8
accent
#77EA3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF8022

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

Preview Lab → · Contrast checker → · Palette generator →

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