#AF7A27#AF7A27

#AF7A27 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 61.9% C 0.116 H 74.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF7A27
RGBrgb(175, 122, 39)
HSLhsl(37, 64%, 42%)
HSVhsv(37, 78%, 69%)
CMYKcmyk(0%, 30.3%, 77.7%, 31.4%)
CIE-LABlab(55.26, 13.24, 50.88)
CIE-LCHlch(55.26, 52.57, 75.42°)
OKLaboklab(61.92% 0.032 0.1114)
OKLCHoklch(61.92% 0.116 74)
XYZxyz(25.0068, 23.1817, 5.0765)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7A27 #275CAF
analogous
#AF3627 #AF7A27 #A0AF27
triadic
#AF7A27 #27AF7A #7A27AF
tetradic
#AF7A27 #27AF36 #275CAF #AF27A0
square
#AF7A27 #27AF36 #275CAF #AF27A0
split-complementary
#AF7A27 #27A0AF #3627AF
monochromatic
#4B3411 #7D571C #AF7A27 #D49A3F #DFB471

Accessibility & contrast

On white

3.73
#AF7A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AF7A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7A27
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7A27#FFFFFF#000000##000000
##AF7A271.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#BF6C6A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7a27;
/* rgb */ color: rgb(175, 122, 39);
/* oklch */ color: oklch(61.9% 0.116 74.0);
Tailwind
colors: {
  custom: {
    50: '#cca067',
    500: '#af7a27',
    950: '#000000',
  },
}
SCSS
$custom: #af7a27;
$custom-light: #cca067;
$custom-dark: #000000;
JSON
{
  "hex": "#af7a27",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 36.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.11588,
    "h": 74
  },
  "luminance": 0.2318
}

Semantic roles & 50–950 ramp

primary
#AF7A27
secondary
#6B8FC6
accent
#82E741
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7A27

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

Preview Lab → · Contrast checker → · Palette generator →

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