#AF8942#AF8942

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

Color values

HEX#AF8942
RGBrgb(175, 137, 66)
HSLhsl(39, 45%, 47%)
HSVhsv(39, 62%, 69%)
CMYKcmyk(0%, 21.7%, 62.3%, 31.4%)
CIE-LABlab(59.34, 6.38, 42.82)
CIE-LCHlch(59.34, 43.29, 81.52°)
OKLaboklab(65.19% 0.0156 0.0991)
OKLCHoklch(65.19% 0.1 81)
XYZxyz(27.6097, 27.4004, 8.9878)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8942 #4268AF
analogous
#AF5342 #AF8942 #9EAF42
triadic
#AF8942 #42AF89 #8942AF
tetradic
#AF8942 #42AF53 #4268AF #AF429E
square
#AF8942 #42AF53 #4268AF #AF429E
split-complementary
#AF8942 #429EAF #5342AF
monochromatic
#564320 #836631 #AF8942 #C6A568 #D7C095

Accessibility & contrast

On white

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

On black

6.48
#AF8942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8942
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8942#FFFFFF#000000##000000
##AF89421.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893B
Deuteranopia (green-blind)
#A29344
Tritanopia (blue-blind)
#BD7E79
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8942;
/* rgb */ color: rgb(175, 137, 66);
/* oklch */ color: oklch(65.2% 0.100 81.0);
Tailwind
colors: {
  custom: {
    50: '#caab79',
    500: '#af8942',
    950: '#000000',
  },
}
SCSS
$custom: #af8942;
$custom-light: #caab79;
$custom-dark: #000000;
JSON
{
  "hex": "#af8942",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 39.083,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.65188,
    "c": 0.10032,
    "h": 81
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#AF8942
secondary
#8A9EC2
accent
#80D553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8942

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

Preview Lab → · Contrast checker → · Palette generator →

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