#AF8938#AF8938

#AF8938 is a light, moderate orange. Relative luminance 0.273; OKLCH L 65.1% C 0.108 H 83.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF8938
RGBrgb(175, 137, 56)
HSLhsl(41, 52%, 45%)
HSVhsv(41, 68%, 69%)
CMYKcmyk(0%, 21.7%, 68%, 31.4%)
CIE-LABlab(59.24, 5.73, 47.50)
CIE-LCHlch(59.24, 47.84, 83.12°)
OKLaboklab(65.08% 0.0124 0.1076)
OKLCHoklch(65.08% 0.108 83.4)
XYZxyz(27.3402, 27.2926, 7.5686)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8938 #385EAF
analogous
#AF4D38 #AF8938 #9AAF38
triadic
#AF8938 #38AF89 #8938AF
tetradic
#AF8938 #38AF4D #385EAF #AF389A
square
#AF8938 #38AF4D #385EAF #AF389A
split-complementary
#AF8938 #389AAF #4D38AF
monochromatic
#52401A #816529 #AF8938 #CAA65A #D9BF88

Accessibility & contrast

On white

3.25
#AF8938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF8938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8938
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8938#FFFFFF#000000##000000
##AF89381.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892F
Deuteranopia (green-blind)
#A2933B
Tritanopia (blue-blind)
#BE7D78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8938;
/* rgb */ color: rgb(175, 137, 56);
/* oklch */ color: oklch(65.1% 0.108 83.4);
Tailwind
colors: {
  custom: {
    50: '#caab72',
    500: '#af8938',
    950: '#000000',
  },
}
SCSS
$custom: #af8938;
$custom-light: #caab72;
$custom-dark: #000000;
JSON
{
  "hex": "#af8938",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 40.84,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.10828,
    "h": 83.4
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#AF8938
secondary
#8095C3
accent
#7ADB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF8938

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

Preview Lab → · Contrast checker → · Palette generator →

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