#AF8A28#AF8A28

#AF8A28 is a light, moderate orange. Relative luminance 0.274; OKLCH L 65.2% C 0.119 H 86.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF8A28
RGBrgb(175, 138, 40)
HSLhsl(44, 63%, 42%)
HSVhsv(44, 77%, 69%)
CMYKcmyk(0%, 21.1%, 77.1%, 31.4%)
CIE-LABlab(59.38, 4.37, 54.40)
CIE-LCHlch(59.38, 54.58, 85.41°)
OKLaboklab(65.15% 0.0065 0.1191)
OKLCHoklch(65.15% 0.119 86.9)
XYZxyz(27.1524, 27.4460, 5.8746)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A28 #284DAF
analogous
#AF4728 #AF8A28 #90AF28
triadic
#AF8A28 #28AF8A #8A28AF
tetradic
#AF8A28 #28AF47 #284DAF #AF2890
square
#AF8A28 #28AF47 #284DAF #AF2890
split-complementary
#AF8A28 #2890AF #4728AF
monochromatic
#4B3B11 #7D631D #AF8A28 #D4AB41 #DFC173

Accessibility & contrast

On white

3.24
#AF8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AF8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A28
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A28#FFFFFF#000000##000000
##AF8A281.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#BE7D77
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a28;
/* rgb */ color: rgb(175, 138, 40);
/* oklch */ color: oklch(65.2% 0.119 86.9);
Tailwind
colors: {
  custom: {
    50: '#cbab69',
    500: '#af8a28',
    950: '#000000',
  },
}
SCSS
$custom: #af8a28;
$custom-light: #cbab69;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a28",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 43.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.1193,
    "h": 86.9
  },
  "luminance": 0.27444
}

Semantic roles & 50–950 ramp

primary
#AF8A28
secondary
#6D85C6
accent
#6FE642
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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