#B17A2F#B17A2F

#B17A2F is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.2% C 0.113 H 71.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B17A2F
RGBrgb(177, 122, 47)
HSLhsl(35, 58%, 44%)
HSVhsv(35, 73%, 69%)
CMYKcmyk(0%, 31.1%, 73.4%, 30.6%)
CIE-LABlab(55.56, 14.49, 47.82)
CIE-LCHlch(55.56, 49.96, 73.14°)
OKLaboklab(62.22% 0.0366 0.1065)
OKLCHoklch(62.22% 0.113 71)
XYZxyz(25.6059, 23.4736, 5.8711)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17A2F #2F66B1
analogous
#B1392F #B17A2F #A7B12F
triadic
#B17A2F #2FB17A #7A2FB1
tetradic
#B17A2F #2FB139 #2F66B1 #B12FA7
square
#B17A2F #2FB139 #2F66B1 #B12FA7
split-complementary
#B17A2F #2FA7B1 #392FB1
monochromatic
#503715 #815922 #B17A2F #D0994D #DDB57E

Accessibility & contrast

On white

3.69
#B17A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B17A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17A2F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17A2F#FFFFFF#000000##000000
##B17A2F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#C16C6A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b17a2f;
/* rgb */ color: rgb(177, 122, 47);
/* oklch */ color: oklch(62.2% 0.113 71.0);
Tailwind
colors: {
  custom: {
    50: '#cda06c',
    500: '#b17a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b17a2f;
$custom-light: #cda06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b17a2f",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 34.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62219,
    "c": 0.1126,
    "h": 71
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

primary
#B17A2F
secondary
#7698C5
accent
#88E147
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #B17A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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