#837A1F#837A1F

#837A1F is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.108 H 103.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#837A1F
RGBrgb(131, 122, 31)
HSLhsl(55, 62%, 32%)
HSVhsv(55, 76%, 51%)
CMYKcmyk(0%, 6.9%, 76.3%, 48.6%)
CIE-LABlab(50.50, -7.35, 47.84)
CIE-LCHlch(50.50, 48.40, 98.74°)
OKLaboklab(57.08% -0.0253 0.1053)
OKLCHoklch(57.08% 0.108 103.5)
XYZxyz(16.5677, 18.8440, 4.0606)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837A1F #1F2883
analogous
#83481F #837A1F #5A831F
triadic
#837A1F #1F837A #7A1F83
tetradic
#837A1F #1F8348 #1F2883 #831F5A
square
#837A1F #1F8348 #1F2883 #831F5A
split-complementary
#837A1F #1F5A83 #481F83
monochromatic
#201E08 #524C13 #837A1F #B4A82B #D4C749

Accessibility & contrast

On white

4.40
#837A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#837A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837A1F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837A1F#FFFFFF#000000##000000
##837A1F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#8D7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #837a1f;
/* rgb */ color: rgb(131, 122, 31);
/* oklch */ color: oklch(57.1% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#aaa062',
    500: '#837a1f',
    950: '#000000',
  },
}
SCSS
$custom: #837a1f;
$custom-light: #aaa062;
$custom-dark: #000000;
JSON
{
  "hex": "#837a1f",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 54.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.10829,
    "h": 103.5
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#837A1F
secondary
#4852B6
accent
#52E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #837A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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