#AF7E26#AF7E26

#AF7E26 is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.7% C 0.117 H 77.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF7E26
RGBrgb(175, 126, 38)
HSLhsl(39, 64%, 42%)
HSVhsv(39, 78%, 69%)
CMYKcmyk(0%, 28%, 78.3%, 31.4%)
CIE-LABlab(56.27, 10.96, 52.23)
CIE-LCHlch(56.27, 53.37, 78.15°)
OKLaboklab(62.7% 0.0253 0.114)
OKLCHoklch(62.7% 0.117 77.5)
XYZxyz(25.4917, 24.1777, 5.1575)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E26 #2657AF
analogous
#AF3A26 #AF7E26 #9CAF26
triadic
#AF7E26 #26AF7E #7E26AF
tetradic
#AF7E26 #26AF3A #2657AF #AF269C
square
#AF7E26 #26AF3A #2657AF #AF269C
split-complementary
#AF7E26 #269CAF #3A26AF
monochromatic
#4A3610 #7D5A1B #AF7E26 #D59F3D #E0B870

Accessibility & contrast

On white

3.60
#AF7E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AF7E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E26
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E26#FFFFFF#000000##000000
##AF7E261.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#BF706D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e26;
/* rgb */ color: rgb(175, 126, 38);
/* oklch */ color: oklch(62.7% 0.117 77.5);
Tailwind
colors: {
  custom: {
    50: '#cca367',
    500: '#af7e26',
    950: '#000000',
  },
}
SCSS
$custom: #af7e26;
$custom-light: #cca367;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e26",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 38.54,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.627,
    "c": 0.1168,
    "h": 77.5
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#AF7E26
secondary
#6A8BC7
accent
#7CE740
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF7E26

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

Preview Lab → · Contrast checker → · Palette generator →

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