#AF7F2F#AF7F2F

#AF7F2F is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.0% C 0.112 H 76.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF7F2F
RGBrgb(175, 127, 47)
HSLhsl(38, 58%, 44%)
HSVhsv(38, 73%, 69%)
CMYKcmyk(0%, 27.4%, 73.1%, 31.4%)
CIE-LABlab(56.59, 10.80, 48.79)
CIE-LCHlch(56.59, 49.97, 77.51°)
OKLaboklab(62.97% 0.026 0.1086)
OKLCHoklch(62.97% 0.112 76.6)
XYZxyz(25.7834, 24.5000, 6.0598)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F2F #2F5FAF
analogous
#AF3F2F #AF7F2F #9FAF2F
triadic
#AF7F2F #2FAF7F #7F2FAF
tetradic
#AF7F2F #2FAF3F #2F5FAF #AF2F9F
square
#AF7F2F #2FAF3F #2F5FAF #AF2F9F
split-complementary
#AF7F2F #2F9FAF #3F2FAF
monochromatic
#4F3915 #7F5C22 #AF7F2F #CF9E4C #DCB87C

Accessibility & contrast

On white

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

On black

5.90
#AF7F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F2F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F2F#FFFFFF#000000##000000
##AF7F2F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f2f;
/* rgb */ color: rgb(175, 127, 47);
/* oklch */ color: oklch(63.0% 0.112 76.6);
Tailwind
colors: {
  custom: {
    50: '#cba46c',
    500: '#af7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #af7f2f;
$custom-light: #cba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f2f",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 37.5,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.1117,
    "h": 76.6
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#AF7F2F
secondary
#7593C4
accent
#81E147
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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