#AF8726#AF8726

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

Color values

HEX#AF8726
RGBrgb(175, 135, 38)
HSLhsl(42, 64%, 42%)
HSVhsv(42, 78%, 69%)
CMYKcmyk(0%, 22.9%, 78.3%, 31.4%)
CIE-LABlab(58.59, 5.94, 54.41)
CIE-LCHlch(58.59, 54.73, 83.76°)
OKLaboklab(64.52% 0.0108 0.1187)
OKLCHoklch(64.52% 0.119 84.8)
XYZxyz(26.6947, 26.5838, 5.5585)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8726 #264EAF
analogous
#AF4326 #AF8726 #93AF26
triadic
#AF8726 #26AF87 #8726AF
tetradic
#AF8726 #26AF43 #264EAF #AF2693
square
#AF8726 #26AF43 #264EAF #AF2693
split-complementary
#AF8726 #2693AF #4326AF
monochromatic
#4A3910 #7D601B #AF8726 #D5A93D #E0BF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8726#FFFFFF#000000##000000
##AF87261.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)
#998714
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#BE7A74
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af8726;
/* rgb */ color: rgb(175, 135, 38);
/* oklch */ color: oklch(64.5% 0.119 84.8);
Tailwind
colors: {
  custom: {
    50: '#cba968',
    500: '#af8726',
    950: '#000000',
  },
}
SCSS
$custom: #af8726;
$custom-light: #cba968;
$custom-dark: #000000;
JSON
{
  "hex": "#af8726",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 42.482,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.11919,
    "h": 84.8
  },
  "luminance": 0.26582
}

Semantic roles & 50–950 ramp

primary
#AF8726
secondary
#6A85C7
accent
#71E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF8726

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

Preview Lab → · Contrast checker → · Palette generator →

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