#AF7F2B#AF7F2B

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

Color values

HEX#AF7F2B
RGBrgb(175, 127, 43)
HSLhsl(38, 61%, 43%)
HSVhsv(38, 75%, 69%)
CMYKcmyk(0%, 27.4%, 75.4%, 31.4%)
CIE-LABlab(56.55, 10.61, 50.48)
CIE-LCHlch(56.55, 51.58, 78.13°)
OKLaboklab(62.94% 0.0249 0.1114)
OKLCHoklch(62.94% 0.114 77.4)
XYZxyz(25.7064, 24.4692, 5.6542)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F2B #2B5BAF
analogous
#AF3D2B #AF7F2B #9DAF2B
triadic
#AF7F2B #2BAF7F #7F2BAF
tetradic
#AF7F2B #2BAF3D #2B5BAF #AF2B9D
square
#AF7F2B #2BAF3D #2B5BAF #AF2B9D
split-complementary
#AF7F2B #2B9DAF #3D2BAF
monochromatic
#4D3813 #7E5B1F #AF7F2B #D19F46 #DEB877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7F2B#FFFFFF#000000##000000
##AF7F2B1.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)
#91811F
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f2b;
/* rgb */ color: rgb(175, 127, 43);
/* oklch */ color: oklch(62.9% 0.114 77.4);
Tailwind
colors: {
  custom: {
    50: '#cba36a',
    500: '#af7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #af7f2b;
$custom-light: #cba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f2b",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 38.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.11415,
    "h": 77.4
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#AF7F2B
secondary
#708FC5
accent
#7EE444
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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