#AF8E40#AF8E40

#AF8E40 is a light, moderate orange. Relative luminance 0.288; OKLCH L 66.2% C 0.104 H 86.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AF8E40
RGBrgb(175, 142, 64)
HSLhsl(42, 46%, 47%)
HSVhsv(42, 63%, 69%)
CMYKcmyk(0%, 18.9%, 63.4%, 31.4%)
CIE-LABlab(60.63, 3.48, 45.25)
CIE-LCHlch(60.63, 45.38, 85.60°)
OKLaboklab(66.2% 0.0069 0.104)
OKLCHoklch(66.2% 0.104 86.2)
XYZxyz(28.2791, 28.8318, 8.9251)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E40 #4061AF
analogous
#AF5640 #AF8E40 #99AF40
triadic
#AF8E40 #40AF8E #8E40AF
tetradic
#AF8E40 #40AF56 #4061AF #AF4099
square
#AF8E40 #40AF56 #4061AF #AF4099
split-complementary
#AF8E40 #4099AF #5640AF
monochromatic
#55451F #826A30 #AF8E40 #C7AA65 #D7C392

Accessibility & contrast

On white

3.10
#AF8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AF8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8E40
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8E40#FFFFFF#000000##000000
##AF8E401.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D38
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#BD837D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e40;
/* rgb */ color: rgb(175, 142, 64);
/* oklch */ color: oklch(66.2% 0.104 86.2);
Tailwind
colors: {
  custom: {
    50: '#caae78',
    500: '#af8e40',
    950: '#000000',
  },
}
SCSS
$custom: #af8e40;
$custom-light: #caae78;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e40",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 42.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.10425,
    "h": 86.2
  },
  "luminance": 0.2883
}

Semantic roles & 50–950 ramp

primary
#AF8E40
secondary
#889AC3
accent
#79D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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