#AF7F2A#AF7F2A

#AF7F2A is a light, moderate orange. Relative luminance 0.245; OKLCH L 62.9% C 0.115 H 77.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF7F2A
RGBrgb(175, 127, 42)
HSLhsl(38, 61%, 43%)
HSVhsv(38, 76%, 69%)
CMYKcmyk(0%, 27.4%, 76%, 31.4%)
CIE-LABlab(56.55, 10.57, 50.89)
CIE-LCHlch(56.55, 51.97, 78.27°)
OKLaboklab(62.93% 0.0246 0.1121)
OKLCHoklch(62.93% 0.115 77.6)
XYZxyz(25.6883, 24.4619, 5.5587)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F2A #2A5AAF
analogous
#AF3D2A #AF7F2A #9CAF2A
triadic
#AF7F2A #2AAF7F #7F2AAF
tetradic
#AF7F2A #2AAF3D #2A5AAF #AF2A9C
square
#AF7F2A #2AAF3D #2A5AAF #AF2A9C
split-complementary
#AF7F2A #2A9CAF #3D2AAF
monochromatic
#4C3712 #7E5B1E #AF7F2A #D29F44 #DEB875

Accessibility & contrast

On white

3.56
#AF7F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF7F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F2A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F2A#FFFFFF#000000##000000
##AF7F2A1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#9D8C2D
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f2a;
/* rgb */ color: rgb(175, 127, 42);
/* oklch */ color: oklch(62.9% 0.115 77.6);
Tailwind
colors: {
  custom: {
    50: '#cba369',
    500: '#af7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #af7f2a;
$custom-light: #cba369;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f2a",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 38.346,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62929,
    "c": 0.11473,
    "h": 77.6
  },
  "luminance": 0.2446
}

Semantic roles & 50–950 ramp

primary
#AF7F2A
secondary
#6F8EC6
accent
#7EE443
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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