#AF8F42#AF8F42

#AF8F42 is a light, moderate orange. Relative luminance 0.292; OKLCH L 66.4% C 0.103 H 86.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF8F42
RGBrgb(175, 143, 66)
HSLhsl(42, 45%, 47%)
HSVhsv(42, 62%, 69%)
CMYKcmyk(0%, 18.3%, 62.3%, 31.4%)
CIE-LABlab(60.92, 3.07, 44.60)
CIE-LCHlch(60.92, 44.71, 86.06°)
OKLaboklab(66.43% 0.006 0.1029)
OKLCHoklch(66.43% 0.103 86.7)
XYZxyz(28.4864, 29.1539, 9.2800)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8F42 #4262AF
analogous
#AF5842 #AF8F42 #99AF42
triadic
#AF8F42 #42AF8F #8F42AF
tetradic
#AF8F42 #42AF58 #4262AF #AF4299
square
#AF8F42 #42AF58 #4262AF #AF4299
split-complementary
#AF8F42 #4299AF #5842AF
monochromatic
#564620 #836B31 #AF8F42 #C6AB68 #D7C395

Accessibility & contrast

On white

3.07
#AF8F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AF8F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8F42
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8F42#FFFFFF#000000##000000
##AF8F421.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E3A
Deuteranopia (green-blind)
#A69745
Tritanopia (blue-blind)
#BD847E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af8f42;
/* rgb */ color: rgb(175, 143, 66);
/* oklch */ color: oklch(66.4% 0.103 86.7);
Tailwind
colors: {
  custom: {
    50: '#caaf79',
    500: '#af8f42',
    950: '#000000',
  },
}
SCSS
$custom: #af8f42;
$custom-light: #caaf79;
$custom-dark: #000000;
JSON
{
  "hex": "#af8f42",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 42.385,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.10309,
    "h": 86.7
  },
  "luminance": 0.29152
}

Semantic roles & 50–950 ramp

primary
#AF8F42
secondary
#8A9BC2
accent
#79D553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8F42

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

Preview Lab → · Contrast checker → · Palette generator →

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