#AF8738#AF8738

#AF8738 is a light, moderate orange. Relative luminance 0.267; OKLCH L 64.7% C 0.108 H 81.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF8738
RGBrgb(175, 135, 56)
HSLhsl(40, 52%, 45%)
HSVhsv(40, 68%, 69%)
CMYKcmyk(0%, 22.9%, 68%, 31.4%)
CIE-LABlab(58.72, 6.84, 46.94)
CIE-LCHlch(58.72, 47.44, 81.71°)
OKLaboklab(64.67% 0.0156 0.1064)
OKLCHoklch(64.67% 0.108 81.7)
XYZxyz(27.0586, 26.7293, 7.4747)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8738 #3860AF
analogous
#AF4C38 #AF8738 #9BAF38
triadic
#AF8738 #38AF87 #8738AF
tetradic
#AF8738 #38AF4C #3860AF #AF389B
square
#AF8738 #38AF4C #3860AF #AF389B
split-complementary
#AF8738 #389BAF #4C38AF
monochromatic
#523F1A #816329 #AF8738 #CAA45A #D9BE88

Accessibility & contrast

On white

3.31
#AF8738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AF8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8738
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8738#FFFFFF#000000##000000
##AF87381.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872F
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#BE7B76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af8738;
/* rgb */ color: rgb(175, 135, 56);
/* oklch */ color: oklch(64.7% 0.108 81.7);
Tailwind
colors: {
  custom: {
    50: '#cba972',
    500: '#af8738',
    950: '#000000',
  },
}
SCSS
$custom: #af8738;
$custom-light: #cba972;
$custom-dark: #000000;
JSON
{
  "hex": "#af8738",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 39.832,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.10753,
    "h": 81.7
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#AF8738
secondary
#8096C3
accent
#7DDB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B

Preview Lab

Preview with #AF8738

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

Preview Lab → · Contrast checker → · Palette generator →

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