#AF7F38#AF7F38

#AF7F38 is a light, moderate orange. Relative luminance 0.246; OKLCH L 63.1% C 0.106 H 74.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF7F38
RGBrgb(175, 127, 56)
HSLhsl(36, 52%, 45%)
HSVhsv(36, 68%, 69%)
CMYKcmyk(0%, 27.4%, 68%, 31.4%)
CIE-LABlab(56.66, 11.30, 44.72)
CIE-LCHlch(56.66, 46.13, 75.82°)
OKLaboklab(63.06% 0.0286 0.1017)
OKLCHoklch(63.06% 0.106 74.3)
XYZxyz(25.9840, 24.5802, 7.1165)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F38 #3868AF
analogous
#AF4338 #AF7F38 #A4AF38
triadic
#AF7F38 #38AF7F #7F38AF
tetradic
#AF7F38 #38AF43 #3868AF #AF38A4
square
#AF7F38 #38AF43 #3868AF #AF38A4
split-complementary
#AF7F38 #38A4AF #4338AF
monochromatic
#523C1A #815D29 #AF7F38 #CA9D5A #D9B888

Accessibility & contrast

On white

3.55
#AF7F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#AF7F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F38
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F38#FFFFFF#000000##000000
##AF7F381.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908130
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#BE7270
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f38;
/* rgb */ color: rgb(175, 127, 56);
/* oklch */ color: oklch(63.1% 0.106 74.3);
Tailwind
colors: {
  custom: {
    50: '#cba472',
    500: '#af7f38',
    950: '#000000',
  },
}
SCSS
$custom: #af7f38;
$custom-light: #cba472;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f38",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 35.798,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63058,
    "c": 0.10562,
    "h": 74.3
  },
  "luminance": 0.24578
}

Semantic roles & 50–950 ramp

primary
#AF7F38
secondary
#809BC3
accent
#86DB4D
background
#FDFAF7
surface
#FAF3ED
border
#D3CDC8
text
#140F08
muted
#837F7B

Preview Lab

Preview with #AF7F38

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

Preview Lab → · Contrast checker → · Palette generator →

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