#84701B#84701B

#84701B is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.103 H 95.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#84701B
RGBrgb(132, 112, 27)
HSLhsl(49, 66%, 31%)
HSVhsv(49, 80%, 52%)
CMYKcmyk(0%, 15.2%, 79.5%, 48.2%)
CIE-LABlab(47.72, -1.43, 46.76)
CIE-LCHlch(47.72, 46.78, 91.75°)
OKLaboklab(54.89% -0.0091 0.1021)
OKLCHoklch(54.89% 0.103 95.1)
XYZxyz(15.5086, 16.5739, 3.4189)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84701B #1B2F84
analogous
#843B1B #84701B #63841B
triadic
#84701B #1B8470 #701B84
tetradic
#84701B #1B843B #1B2F84 #841B63
square
#84701B #1B843B #1B2F84 #841B63
split-complementary
#84701B #1B6384 #3B1B84
monochromatic
#1E1A06 #514511 #84701B #B79B25 #D8BB41

Accessibility & contrast

On white

4.87
#84701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#84701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #84701B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84701B#FFFFFF#000000##FFFFFF
##84701B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#8F6760
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #84701b;
/* rgb */ color: rgb(132, 112, 27);
/* oklch */ color: oklch(54.9% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#ab985f',
    500: '#84701b',
    950: '#000000',
  },
}
SCSS
$custom: #84701b;
$custom-light: #ab985f;
$custom-dark: #000000;
JSON
{
  "hex": "#84701b",
  "rgb": {
    "r": 132,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 48.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.10251,
    "h": 95.1
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#84701B
secondary
#435AB7
accent
#5FE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #84701B

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

Preview Lab → · Contrast checker → · Palette generator →

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