#837D1A#837D1A

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

Color values

HEX#837D1A
RGBrgb(131, 125, 26)
HSLhsl(57, 67%, 31%)
HSVhsv(57, 80%, 51%)
CMYKcmyk(0%, 4.6%, 80.2%, 48.6%)
CIE-LABlab(51.34, -9.23, 50.38)
CIE-LCHlch(51.34, 51.22, 100.38°)
OKLaboklab(57.74% -0.0311 0.1097)
OKLCHoklch(57.74% 0.114 105.8)
XYZxyz(16.8809, 19.5678, 3.8648)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D1A #1A2083
analogous
#83481A #837D1A #54831A
triadic
#837D1A #1A837D #7D1A83
tetradic
#837D1A #1A8348 #1A2083 #831A54
square
#837D1A #1A8348 #1A2083 #831A54
split-complementary
#837D1A #1A5483 #481A83
monochromatic
#1D1C06 #504C10 #837D1A #B6AE24 #D9D03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837D1A#FFFFFF#000000##000000
##837D1A1.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)
#897800
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d1a;
/* rgb */ color: rgb(131, 125, 26);
/* oklch */ color: oklch(57.7% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#aaa260',
    500: '#837d1a',
    950: '#000000',
  },
}
SCSS
$custom: #837d1a;
$custom-light: #aaa260;
$custom-dark: #000000;
JSON
{
  "hex": "#837d1a",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 56.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.11401,
    "h": 105.8
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#837D1A
secondary
#4249B7
accent
#48EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #837D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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