#837E1A#837E1A

#837E1A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.115 H 106.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#837E1A
RGBrgb(131, 126, 26)
HSLhsl(57, 67%, 31%)
HSVhsv(57, 80%, 51%)
CMYKcmyk(0%, 3.8%, 80.2%, 48.6%)
CIE-LABlab(51.64, -9.78, 50.65)
CIE-LCHlch(51.64, 51.58, 100.92°)
OKLaboklab(57.97% -0.0326 0.1103)
OKLCHoklch(57.97% 0.115 106.5)
XYZxyz(17.0081, 19.8222, 3.9072)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E1A #1A1F83
analogous
#83491A #837E1A #53831A
triadic
#837E1A #1A837E #7E1A83
tetradic
#837E1A #1A8349 #1A1F83 #831A53
square
#837E1A #1A8349 #1A1F83 #831A53
split-complementary
#837E1A #1A5383 #491A83
monochromatic
#1D1C06 #504D10 #837E1A #B6AF24 #D9D13F

Accessibility & contrast

On white

4.23
#837E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#837E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E1A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E1A#FFFFFF#000000##000000
##837E1A1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#8D756B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e1a;
/* rgb */ color: rgb(131, 126, 26);
/* oklch */ color: oklch(58.0% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#aaa360',
    500: '#837e1a',
    950: '#000000',
  },
}
SCSS
$custom: #837e1a;
$custom-light: #aaa360;
$custom-dark: #000000;
JSON
{
  "hex": "#837e1a",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 57.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.11497,
    "h": 106.5
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#837E1A
secondary
#4248B7
accent
#46EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #837E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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