#AF7F22#AF7F22

#AF7F22 is a light, moderate orange. Relative luminance 0.244; OKLCH L 62.9% C 0.119 H 79.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF7F22
RGBrgb(175, 127, 34)
HSLhsl(40, 67%, 41%)
HSVhsv(40, 81%, 69%)
CMYKcmyk(0%, 27.4%, 80.6%, 31.4%)
CIE-LABlab(56.50, 10.25, 53.96)
CIE-LCHlch(56.50, 54.92, 79.25°)
OKLaboklab(62.87% 0.0227 0.1168)
OKLCHoklch(62.87% 0.119 79)
XYZxyz(25.5591, 24.4103, 4.8786)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F22 #2252AF
analogous
#AF3822 #AF7F22 #98AF22
triadic
#AF7F22 #22AF7F #7F22AF
tetradic
#AF7F22 #22AF38 #2252AF #AF2298
square
#AF7F22 #22AF38 #2252AF #AF2298
split-complementary
#AF7F22 #2298AF #3822AF
monochromatic
#49350E #7C5A18 #AF7F22 #D8A136 #E2B969

Accessibility & contrast

On white

3.57
#AF7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF7F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F22
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F22#FFFFFF#000000##000000
##AF7F221.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800F
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#BF716D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7f22;
/* rgb */ color: rgb(175, 127, 34);
/* oklch */ color: oklch(62.9% 0.119 79.0);
Tailwind
colors: {
  custom: {
    50: '#cca365',
    500: '#af7f22',
    950: '#000000',
  },
}
SCSS
$custom: #af7f22;
$custom-light: #cca365;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f22",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 39.574,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.11902,
    "h": 79
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#AF7F22
secondary
#6587C8
accent
#78EA3D
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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