#AF8728#AF8728

#AF8728 is a light, moderate orange. Relative luminance 0.266; OKLCH L 64.5% C 0.118 H 84.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF8728
RGBrgb(175, 135, 40)
HSLhsl(42, 63%, 42%)
HSVhsv(42, 77%, 69%)
CMYKcmyk(0%, 22.9%, 77.1%, 31.4%)
CIE-LABlab(58.60, 6.03, 53.66)
CIE-LCHlch(58.60, 54.00, 83.59°)
OKLaboklab(64.53% 0.0112 0.1175)
OKLCHoklch(64.53% 0.118 84.5)
XYZxyz(26.7279, 26.5970, 5.7331)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8728 #2850AF
analogous
#AF4328 #AF8728 #94AF28
triadic
#AF8728 #28AF87 #8728AF
tetradic
#AF8728 #28AF43 #2850AF #AF2894
square
#AF8728 #28AF43 #2850AF #AF2894
split-complementary
#AF8728 #2894AF #4328AF
monochromatic
#4B3A11 #7D611D #AF8728 #D4A841 #DFBF73

Accessibility & contrast

On white

3.32
#AF8728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AF8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8728
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8728#FFFFFF#000000##000000
##AF87281.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988718
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#BE7A74
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af8728;
/* rgb */ color: rgb(175, 135, 40);
/* oklch */ color: oklch(64.5% 0.118 84.5);
Tailwind
colors: {
  custom: {
    50: '#cba969',
    500: '#af8728',
    950: '#000000',
  },
}
SCSS
$custom: #af8728;
$custom-light: #cba969;
$custom-dark: #000000;
JSON
{
  "hex": "#af8728",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 42.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.11808,
    "h": 84.5
  },
  "luminance": 0.26595
}

Semantic roles & 50–950 ramp

primary
#AF8728
secondary
#6D87C6
accent
#73E642
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF8728

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

Preview Lab → · Contrast checker → · Palette generator →

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