#837A1B#837A1B

#837A1B is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.111 H 103.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#837A1B
RGBrgb(131, 122, 27)
HSLhsl(55, 66%, 31%)
HSVhsv(55, 79%, 51%)
CMYKcmyk(0%, 6.9%, 79.4%, 48.6%)
CIE-LABlab(50.48, -7.53, 49.26)
CIE-LCHlch(50.48, 49.84, 98.69°)
OKLaboklab(57.05% -0.0262 0.1075)
OKLCHoklch(57.05% 0.111 103.7)
XYZxyz(16.5182, 18.8242, 3.8000)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837A1B #1B2483
analogous
#83461B #837A1B #58831B
triadic
#837A1B #1B837A #7A1B83
tetradic
#837A1B #1B8346 #1B2483 #831B58
square
#837A1B #1B8346 #1B2483 #831B58
split-complementary
#837A1B #1B5883 #461B83
monochromatic
#1E1B06 #504B11 #837A1B #B6A925 #D8CB41

Accessibility & contrast

On white

4.41
#837A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#837A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837A1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837A1B#FFFFFF#000000##000000
##837A1B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#8D7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #837a1b;
/* rgb */ color: rgb(131, 122, 27);
/* oklch */ color: oklch(57.1% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#aaa060',
    500: '#837a1b',
    950: '#000000',
  },
}
SCSS
$custom: #837a1b;
$custom-light: #aaa060;
$custom-dark: #000000;
JSON
{
  "hex": "#837a1b",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 54.808,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.11065,
    "h": 103.7
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#837A1B
secondary
#434DB6
accent
#4EE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #837A1B

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

Preview Lab → · Contrast checker → · Palette generator →

#837A1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva