#84731B#84731B

#84731B is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.105 H 97.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#84731B
RGBrgb(132, 115, 27)
HSLhsl(50, 66%, 31%)
HSVhsv(50, 80%, 52%)
CMYKcmyk(0%, 12.9%, 79.5%, 48.2%)
CIE-LABlab(48.57, -3.13, 47.55)
CIE-LCHlch(48.57, 47.65, 93.77°)
OKLaboklab(55.56% -0.0139 0.1038)
OKLCHoklch(55.56% 0.105 97.6)
XYZxyz(15.8451, 17.2470, 3.5311)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84731B #1B2C84
analogous
#843E1B #84731B #60841B
triadic
#84731B #1B8473 #731B84
tetradic
#84731B #1B843E #1B2C84 #841B60
square
#84731B #1B843E #1B2C84 #841B60
split-complementary
#84731B #1B6084 #3E1B84
monochromatic
#1E1A06 #514711 #84731B #B79F25 #D8C041

Accessibility & contrast

On white

4.72
#84731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#84731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #84731B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84731B#FFFFFF#000000##FFFFFF
##84731B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#8F6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #84731b;
/* rgb */ color: rgb(132, 115, 27);
/* oklch */ color: oklch(55.6% 0.105 97.6);
Tailwind
colors: {
  custom: {
    50: '#ab9a5f',
    500: '#84731b',
    950: '#000000',
  },
}
SCSS
$custom: #84731b;
$custom-light: #ab9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#84731b",
  "rgb": {
    "r": 132,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 50.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.10472,
    "h": 97.6
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

primary
#84731B
secondary
#4356B7
accent
#5AE93F
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #84731B

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

Preview Lab → · Contrast checker → · Palette generator →

#84731B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva