#AF7138#AF7138

#AF7138 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 60.3% C 0.107 H 61.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF7138
RGBrgb(175, 113, 56)
HSLhsl(29, 52%, 45%)
HSVhsv(29, 68%, 69%)
CMYKcmyk(0%, 35.4%, 68%, 31.4%)
CIE-LABlab(53.18, 19.15, 40.89)
CIE-LCHlch(53.18, 45.15, 64.91°)
OKLaboklab(60.35% 0.0519 0.0935)
OKLCHoklch(60.35% 0.107 61)
XYZxyz(24.2999, 21.2120, 6.5552)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7138 #3876AF
analogous
#AF383B #AF7138 #AFAC38
triadic
#AF7138 #38AF71 #7138AF
tetradic
#AF7138 #3BAF38 #3876AF #AC38AF
square
#AF7138 #3BAF38 #3876AF #AC38AF
split-complementary
#AF7138 #38AFAC #383BAF
monochromatic
#52351A #815329 #AF7138 #CA905A #D9AF88

Accessibility & contrast

On white

4.01
#AF7138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AF7138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7138
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7138#FFFFFF#000000##000000
##AF71381.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847732
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#BF6364
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7138;
/* rgb */ color: rgb(175, 113, 56);
/* oklch */ color: oklch(60.3% 0.107 61.0);
Tailwind
colors: {
  custom: {
    50: '#cb9a71',
    500: '#af7138',
    950: '#000000',
  },
}
SCSS
$custom: #af7138;
$custom-light: #cb9a71;
$custom-dark: #000000;
JSON
{
  "hex": "#af7138",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 28.739,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.10689,
    "h": 61
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#AF7138
secondary
#80A3C3
accent
#97DB4D
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E08
muted
#837E7B

Preview Lab

Preview with #AF7138

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

Preview Lab → · Contrast checker → · Palette generator →

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