#B17F2F#B17F2F

#B17F2F is a light, moderate orange. Relative luminance 0.247; OKLCH L 63.2% C 0.113 H 75.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B17F2F
RGBrgb(177, 127, 47)
HSLhsl(37, 58%, 44%)
HSVhsv(37, 73%, 69%)
CMYKcmyk(0%, 28.2%, 73.4%, 30.6%)
CIE-LABlab(56.81, 11.70, 49.09)
CIE-LCHlch(56.81, 50.47, 76.60°)
OKLaboklab(63.2% 0.0284 0.1092)
OKLCHoklch(63.2% 0.113 75.4)
XYZxyz(26.2357, 24.7332, 6.0810)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17F2F #2F61B1
analogous
#B13E2F #B17F2F #A2B12F
triadic
#B17F2F #2FB17F #7F2FB1
tetradic
#B17F2F #2FB13E #2F61B1 #B12FA2
square
#B17F2F #2FB13E #2F61B1 #B12FA2
split-complementary
#B17F2F #2FA2B1 #3E2FB1
monochromatic
#503A15 #815C22 #B17F2F #D09E4D #DDB87E

Accessibility & contrast

On white

3.53
#B17F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B17F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17F2F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17F2F#FFFFFF#000000##000000
##B17F2F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b17f2f;
/* rgb */ color: rgb(177, 127, 47);
/* oklch */ color: oklch(63.2% 0.113 75.4);
Tailwind
colors: {
  custom: {
    50: '#cda46c',
    500: '#b17f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b17f2f;
$custom-light: #cda46c;
$custom-dark: #000000;
JSON
{
  "hex": "#b17f2f",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 36.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.11285,
    "h": 75.4
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#B17F2F
secondary
#7695C5
accent
#82E147
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #B17F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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