#AF8222#AF8222

#AF8222 is a light, moderate orange. Relative luminance 0.252; OKLCH L 63.5% C 0.120 H 81.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF8222
RGBrgb(175, 130, 34)
HSLhsl(41, 67%, 41%)
HSVhsv(41, 81%, 69%)
CMYKcmyk(0%, 25.7%, 80.6%, 31.4%)
CIE-LABlab(57.27, 8.57, 54.66)
CIE-LCHlch(57.27, 55.32, 81.09°)
OKLaboklab(63.48% 0.0179 0.1183)
OKLCHoklch(63.48% 0.12 81.4)
XYZxyz(25.9523, 25.1967, 5.0097)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8222 #224FAF
analogous
#AF3B22 #AF8222 #95AF22
triadic
#AF8222 #22AF82 #8222AF
tetradic
#AF8222 #22AF3B #224FAF #AF2295
square
#AF8222 #22AF3B #224FAF #AF2295
split-complementary
#AF8222 #2295AF #3B22AF
monochromatic
#49360E #7C5C18 #AF8222 #D8A436 #E2BB69

Accessibility & contrast

On white

3.48
#AF8222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF8222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8222
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8222#FFFFFF#000000##000000
##AF82221.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#BF7570
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af8222;
/* rgb */ color: rgb(175, 130, 34);
/* oklch */ color: oklch(63.5% 0.120 81.4);
Tailwind
colors: {
  custom: {
    50: '#cca666',
    500: '#af8222',
    950: '#000000',
  },
}
SCSS
$custom: #af8222;
$custom-light: #cca666;
$custom-dark: #000000;
JSON
{
  "hex": "#af8222",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 40.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.11969,
    "h": 81.4
  },
  "luminance": 0.25195
}

Semantic roles & 50–950 ramp

primary
#AF8222
secondary
#6585C8
accent
#75EA3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF8222

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

Preview Lab → · Contrast checker → · Palette generator →

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