#AF7240#AF7240

#AF7240 is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.6% C 0.101 H 58.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF7240
RGBrgb(175, 114, 64)
HSLhsl(27, 46%, 47%)
HSVhsv(27, 63%, 69%)
CMYKcmyk(0%, 34.9%, 63.4%, 31.4%)
CIE-LABlab(53.51, 19.11, 37.12)
CIE-LCHlch(53.51, 41.75, 62.76°)
OKLaboklab(60.63% 0.053 0.0865)
OKLCHoklch(60.63% 0.101 58.5)
XYZxyz(24.6236, 21.5209, 7.7066)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7240 #407DAF
analogous
#AF4045 #AF7240 #AFAA40
triadic
#AF7240 #40AF72 #7240AF
tetradic
#AF7240 #45AF40 #407DAF #AA40AF
square
#AF7240 #45AF40 #407DAF #AA40AF
split-complementary
#AF7240 #40AFAA #4045AF
monochromatic
#55381F #825530 #AF7240 #C79165 #D7B192

Accessibility & contrast

On white

3.96
#AF7240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AF7240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7240
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7240#FFFFFF#000000##000000
##AF72401.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84783B
Deuteranopia (green-blind)
#938540
Tritanopia (blue-blind)
#BE6566
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af7240;
/* rgb */ color: rgb(175, 114, 64);
/* oklch */ color: oklch(60.6% 0.101 58.5);
Tailwind
colors: {
  custom: {
    50: '#cb9a76',
    500: '#af7240',
    950: '#000000',
  },
}
SCSS
$custom: #af7240;
$custom-light: #cb9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#af7240",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 27.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.10144,
    "h": 58.5
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#AF7240
secondary
#88A8C3
accent
#9AD652
background
#FDF9F7
surface
#FAF2ED
border
#D3CCC8
text
#140E08
muted
#837E7B

Preview Lab

Preview with #AF7240

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

Preview Lab → · Contrast checker → · Palette generator →

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