#837C1A#837C1A

#837C1A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.113 H 105.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#837C1A
RGBrgb(131, 124, 26)
HSLhsl(56, 67%, 31%)
HSVhsv(56, 80%, 51%)
CMYKcmyk(0%, 5.3%, 80.2%, 48.6%)
CIE-LABlab(51.05, -8.68, 50.12)
CIE-LCHlch(51.05, 50.87, 99.82°)
OKLaboklab(57.51% -0.0295 0.1091)
OKLCHoklch(57.51% 0.113 105.1)
XYZxyz(16.7549, 19.3158, 3.8229)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837C1A #1A2183
analogous
#83471A #837C1A #55831A
triadic
#837C1A #1A837C #7C1A83
tetradic
#837C1A #1A8347 #1A2183 #831A55
square
#837C1A #1A8347 #1A2183 #831A55
split-complementary
#837C1A #1A5583 #471A83
monochromatic
#1D1B06 #504C10 #837C1A #B6AC24 #D9CF3F

Accessibility & contrast

On white

4.32
#837C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#837C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837C1A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837C1A#FFFFFF#000000##000000
##837C1A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#8D736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837c1a;
/* rgb */ color: rgb(131, 124, 26);
/* oklch */ color: oklch(57.5% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#aaa160',
    500: '#837c1a',
    950: '#000000',
  },
}
SCSS
$custom: #837c1a;
$custom-light: #aaa160;
$custom-dark: #000000;
JSON
{
  "hex": "#837c1a",
  "rgb": {
    "r": 131,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 56,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.11306,
    "h": 105.1
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#837C1A
secondary
#424AB7
accent
#49EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #837C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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