#AF7F2E#AF7F2E

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

Color values

HEX#AF7F2E
RGBrgb(175, 127, 46)
HSLhsl(38, 58%, 43%)
HSVhsv(38, 74%, 69%)
CMYKcmyk(0%, 27.4%, 73.7%, 31.4%)
CIE-LABlab(56.58, 10.76, 49.22)
CIE-LCHlch(56.58, 50.38, 77.67°)
OKLaboklab(62.96% 0.0257 0.1094)
OKLCHoklch(62.96% 0.112 76.8)
XYZxyz(25.7634, 24.4920, 5.9548)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F2E #2E5EAF
analogous
#AF3E2E #AF7F2E #9EAF2E
triadic
#AF7F2E #2EAF7F #7F2EAF
tetradic
#AF7F2E #2EAF3E #2E5EAF #AF2E9E
square
#AF7F2E #2EAF3E #2E5EAF #AF2E9E
split-complementary
#AF7F2E #2E9EAF #3E2EAF
monochromatic
#4E3915 #7F5C21 #AF7F2E #D09E4B #DCB87B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7F2E#FFFFFF#000000##000000
##AF7F2E1.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)
#918123
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f2e;
/* rgb */ color: rgb(175, 127, 46);
/* oklch */ color: oklch(63.0% 0.112 76.8);
Tailwind
colors: {
  custom: {
    50: '#cba46c',
    500: '#af7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #af7f2e;
$custom-light: #cba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f2e",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 37.674,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.11232,
    "h": 76.8
  },
  "luminance": 0.2449
}

Semantic roles & 50–950 ramp

primary
#AF7F2E
secondary
#7492C5
accent
#80E246
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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