#AF7E38#AF7E38

#AF7E38 is a light, moderate orange. Relative luminance 0.243; OKLCH L 62.9% C 0.106 H 73.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF7E38
RGBrgb(175, 126, 56)
HSLhsl(35, 52%, 45%)
HSVhsv(35, 68%, 69%)
CMYKcmyk(0%, 28%, 68%, 31.4%)
CIE-LABlab(56.41, 11.86, 44.44)
CIE-LCHlch(56.41, 46.00, 75.06°)
OKLaboklab(62.86% 0.0303 0.1011)
OKLCHoklch(62.86% 0.106 73.3)
XYZxyz(25.8555, 24.3232, 7.0737)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E38 #3869AF
analogous
#AF4238 #AF7E38 #A4AF38
triadic
#AF7E38 #38AF7E #7E38AF
tetradic
#AF7E38 #38AF42 #3869AF #AF38A4
square
#AF7E38 #38AF42 #3869AF #AF38A4
split-complementary
#AF7E38 #38A4AF #4238AF
monochromatic
#523B1A #815D29 #AF7E38 #CA9C5A #D9B888

Accessibility & contrast

On white

3.58
#AF7E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF7E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E38
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E38#FFFFFF#000000##000000
##AF7E381.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908030
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#BE716F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e38;
/* rgb */ color: rgb(175, 126, 56);
/* oklch */ color: oklch(62.9% 0.106 73.3);
Tailwind
colors: {
  custom: {
    50: '#cba372',
    500: '#af7e38',
    950: '#000000',
  },
}
SCSS
$custom: #af7e38;
$custom-light: #cba372;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e38",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 35.294,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62859,
    "c": 0.10551,
    "h": 73.3
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF7E38

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

Preview Lab → · Contrast checker → · Palette generator →

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