#AF7F4F#AF7F4F

#AF7F4F is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.4% C 0.088 H 65.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF7F4F
RGBrgb(175, 127, 79)
HSLhsl(30, 38%, 50%)
HSVhsv(30, 55%, 69%)
CMYKcmyk(0%, 27.4%, 54.9%, 31.4%)
CIE-LABlab(56.94, 13.00, 33.21)
CIE-LCHlch(56.94, 35.66, 68.62°)
OKLaboklab(63.36% 0.0369 0.0795)
OKLCHoklch(63.36% 0.088 65.1)
XYZxyz(26.6813, 24.8591, 10.7886)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F4F #4F7FAF
analogous
#AF4F4F #AF7F4F #AFAF4F
triadic
#AF7F4F #4FAF7F #7F4FAF
tetradic
#AF7F4F #4FAF4F #4F7FAF #AF4FAF
square
#AF7F4F #4FAF4F #4F7FAF #AF4FAF
split-complementary
#AF7F4F #4FAFAF #4F4FAF
monochromatic
#5B4229 #85603C #AF7F4F #C29E79 #D5BCA3

Accessibility & contrast

On white

3.52
#AF7F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AF7F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F4F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F4F#FFFFFF#000000##000000
##AF7F4F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824B
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#BD7473
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af7f4f;
/* rgb */ color: rgb(175, 127, 79);
/* oklch */ color: oklch(63.4% 0.088 65.1);
Tailwind
colors: {
  custom: {
    50: '#caa481',
    500: '#af7f4f',
    950: '#000000',
  },
}
SCSS
$custom: #af7f4f;
$custom-light: #caa481;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f4f",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 30,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.08762,
    "h": 65.1
  },
  "luminance": 0.24857
}

Semantic roles & 50–950 ramp

primary
#AF7F4F
secondary
#97ADC3
accent
#94CE5A
background
#FCFAF7
surface
#F9F4EE
border
#D2CEC9
text
#140F0A
muted
#827F7C

Preview Lab

Preview with #AF7F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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