#837B1A#837B1A

#837B1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.112 H 104.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#837B1A
RGBrgb(131, 123, 26)
HSLhsl(55, 67%, 31%)
HSVhsv(55, 80%, 51%)
CMYKcmyk(0%, 6.1%, 80.2%, 48.6%)
CIE-LABlab(50.76, -8.12, 49.86)
CIE-LCHlch(50.76, 50.52, 99.25°)
OKLaboklab(57.28% -0.028 0.1086)
OKLCHoklch(57.28% 0.112 104.5)
XYZxyz(16.6302, 19.0665, 3.7813)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837B1A #1A2283
analogous
#83471A #837B1A #56831A
triadic
#837B1A #1A837B #7B1A83
tetradic
#837B1A #1A8347 #1A2283 #831A56
square
#837B1A #1A8347 #1A2283 #831A56
split-complementary
#837B1A #1A5683 #471A83
monochromatic
#1D1B06 #504B10 #837B1A #B6AB24 #D9CD3F

Accessibility & contrast

On white

4.36
#837B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#837B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837B1A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837B1A#FFFFFF#000000##000000
##837B1A1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#8D7269
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #837b1a;
/* rgb */ color: rgb(131, 123, 26);
/* oklch */ color: oklch(57.3% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#aba060',
    500: '#837b1a',
    950: '#000000',
  },
}
SCSS
$custom: #837b1a;
$custom-light: #aba060;
$custom-dark: #000000;
JSON
{
  "hex": "#837b1a",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 55.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.11213,
    "h": 104.5
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#837B1A
secondary
#424BB7
accent
#4BEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #837B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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