#AF8727#AF8727

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

Color values

HEX#AF8727
RGBrgb(175, 135, 39)
HSLhsl(42, 64%, 42%)
HSVhsv(42, 78%, 69%)
CMYKcmyk(0%, 22.9%, 77.7%, 31.4%)
CIE-LABlab(58.59, 5.99, 54.03)
CIE-LCHlch(58.59, 54.36, 83.68°)
OKLaboklab(64.53% 0.011 0.1181)
OKLCHoklch(64.53% 0.119 84.7)
XYZxyz(26.7111, 26.5903, 5.6447)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8727 #274FAF
analogous
#AF4327 #AF8727 #93AF27
triadic
#AF8727 #27AF87 #8727AF
tetradic
#AF8727 #27AF43 #274FAF #AF2793
square
#AF8727 #27AF43 #274FAF #AF2793
split-complementary
#AF8727 #2793AF #4327AF
monochromatic
#4B3A11 #7D601C #AF8727 #D4A83F #DFBF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8727#FFFFFF#000000##000000
##AF87271.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)
#988716
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#BE7A74
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af8727;
/* rgb */ color: rgb(175, 135, 39);
/* oklch */ color: oklch(64.5% 0.119 84.7);
Tailwind
colors: {
  custom: {
    50: '#cba969',
    500: '#af8727',
    950: '#000000',
  },
}
SCSS
$custom: #af8727;
$custom-light: #cba969;
$custom-dark: #000000;
JSON
{
  "hex": "#af8727",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 42.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.11864,
    "h": 84.7
  },
  "luminance": 0.26588
}

Semantic roles & 50–950 ramp

primary
#AF8727
secondary
#6B86C6
accent
#72E741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF8727

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

Preview Lab → · Contrast checker → · Palette generator →

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