#837D1B#837D1B

#837D1B is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.113 H 105.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#837D1B
RGBrgb(131, 125, 27)
HSLhsl(57, 66%, 31%)
HSVhsv(57, 79%, 51%)
CMYKcmyk(0%, 4.6%, 79.4%, 48.6%)
CIE-LABlab(51.35, -9.19, 50.05)
CIE-LCHlch(51.35, 50.89, 100.40°)
OKLaboklab(57.75% -0.0309 0.1092)
OKLCHoklch(57.75% 0.113 105.8)
XYZxyz(16.8922, 19.5723, 3.9247)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D1B #1B2183
analogous
#83491B #837D1B #55831B
triadic
#837D1B #1B837D #7D1B83
tetradic
#837D1B #1B8349 #1B2183 #831B55
square
#837D1B #1B8349 #1B2183 #831B55
split-complementary
#837D1B #1B5583 #491B83
monochromatic
#1E1C06 #504D11 #837D1B #B6AD25 #D8CF41

Accessibility & contrast

On white

4.27
#837D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#837D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D1B#FFFFFF#000000##000000
##837D1B1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d1b;
/* rgb */ color: rgb(131, 125, 27);
/* oklch */ color: oklch(57.7% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#aaa261',
    500: '#837d1b',
    950: '#000000',
  },
}
SCSS
$custom: #837d1b;
$custom-light: #aaa261;
$custom-dark: #000000;
JSON
{
  "hex": "#837d1b",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 56.538,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.11347,
    "h": 105.8
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#837D1B
secondary
#434AB6
accent
#49E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #837D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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