#837F1A#837F1A

#837F1A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.116 H 107.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#837F1A
RGBrgb(131, 127, 26)
HSLhsl(58, 67%, 31%)
HSVhsv(58, 80%, 51%)
CMYKcmyk(0%, 3.1%, 80.2%, 48.6%)
CIE-LABlab(51.93, -10.32, 50.91)
CIE-LCHlch(51.93, 51.94, 101.46°)
OKLaboklab(58.2% -0.0341 0.1108)
OKLCHoklch(58.2% 0.116 107.1)
XYZxyz(17.1366, 20.0792, 3.9501)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F1A #1A1E83
analogous
#834A1A #837F1A #52831A
triadic
#837F1A #1A837F #7F1A83
tetradic
#837F1A #1A834A #1A1E83 #831A52
square
#837F1A #1A834A #1A1E83 #831A52
split-complementary
#837F1A #1A5283 #4A1A83
monochromatic
#1D1C06 #504D10 #837F1A #B6B124 #D9D33F

Accessibility & contrast

On white

4.19
#837F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#837F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F1A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F1A#FFFFFF#000000##000000
##837F1A1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8D766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f1a;
/* rgb */ color: rgb(131, 127, 26);
/* oklch */ color: oklch(58.2% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#aaa360',
    500: '#837f1a',
    950: '#000000',
  },
}
SCSS
$custom: #837f1a;
$custom-light: #aaa360;
$custom-dark: #000000;
JSON
{
  "hex": "#837f1a",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 57.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.11595,
    "h": 107.1
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#837F1A
secondary
#4247B7
accent
#45EA3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #837F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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