#AF7B22#AF7B22

#AF7B22 is a light, moderate orange. Relative luminance 0.234; OKLCH L 62.1% C 0.118 H 75.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF7B22
RGBrgb(175, 123, 34)
HSLhsl(38, 67%, 41%)
HSVhsv(38, 81%, 69%)
CMYKcmyk(0%, 29.7%, 80.6%, 31.4%)
CIE-LABlab(55.48, 12.48, 53.03)
CIE-LCHlch(55.48, 54.48, 76.75°)
OKLaboklab(62.08% 0.0292 0.1148)
OKLCHoklch(62.08% 0.118 75.7)
XYZxyz(25.0527, 23.3975, 4.7098)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7B22 #2256AF
analogous
#AF3422 #AF7B22 #9CAF22
triadic
#AF7B22 #22AF7B #7B22AF
tetradic
#AF7B22 #22AF34 #2256AF #AF229C
square
#AF7B22 #22AF34 #2256AF #AF229C
split-complementary
#AF7B22 #229CAF #3422AF
monochromatic
#49330E #7C5718 #AF7B22 #D89C36 #E2B669

Accessibility & contrast

On white

3.70
#AF7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AF7B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7B22
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7B22#FFFFFF#000000##000000
##AF7B221.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D11
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#BF6D6A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af7b22;
/* rgb */ color: rgb(175, 123, 34);
/* oklch */ color: oklch(62.1% 0.118 75.7);
Tailwind
colors: {
  custom: {
    50: '#cca165',
    500: '#af7b22',
    950: '#000000',
  },
}
SCSS
$custom: #af7b22;
$custom-light: #cca165;
$custom-dark: #000000;
JSON
{
  "hex": "#af7b22",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 37.872,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.11849,
    "h": 75.7
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#AF7B22
secondary
#6589C8
accent
#7DEA3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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