#AF8D40#AF8D40

#AF8D40 is a light, moderate orange. Relative luminance 0.285; OKLCH L 66.0% C 0.104 H 85.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF8D40
RGBrgb(175, 141, 64)
HSLhsl(42, 46%, 47%)
HSVhsv(42, 63%, 69%)
CMYKcmyk(0%, 19.4%, 63.4%, 31.4%)
CIE-LABlab(60.37, 4.03, 44.95)
CIE-LCHlch(60.37, 45.13, 84.88°)
OKLaboklab(65.99% 0.0085 0.1034)
OKLCHoklch(65.99% 0.104 85.3)
XYZxyz(28.1309, 28.5356, 8.8757)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D40 #4062AF
analogous
#AF5640 #AF8D40 #9AAF40
triadic
#AF8D40 #40AF8D #8D40AF
tetradic
#AF8D40 #40AF56 #4062AF #AF409A
square
#AF8D40 #40AF56 #4062AF #AF409A
split-complementary
#AF8D40 #409AAF #5640AF
monochromatic
#55451F #826930 #AF8D40 #C7A965 #D7C292

Accessibility & contrast

On white

3.13
#AF8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AF8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8D40
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8D40#FFFFFF#000000##000000
##AF8D401.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C38
Deuteranopia (green-blind)
#A59543
Tritanopia (blue-blind)
#BD827C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8d40;
/* rgb */ color: rgb(175, 141, 64);
/* oklch */ color: oklch(66.0% 0.104 85.3);
Tailwind
colors: {
  custom: {
    50: '#caae78',
    500: '#af8d40',
    950: '#000000',
  },
}
SCSS
$custom: #af8d40;
$custom-light: #caae78;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d40",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 41.622,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.10374,
    "h": 85.3
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#AF8D40
secondary
#889AC3
accent
#7AD652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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