#837E1F#837E1F

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

Color values

HEX#837E1F
RGBrgb(131, 126, 31)
HSLhsl(57, 62%, 32%)
HSVhsv(57, 76%, 51%)
CMYKcmyk(0%, 3.8%, 76.3%, 48.6%)
CIE-LABlab(51.66, -9.56, 48.94)
CIE-LCHlch(51.66, 49.86, 101.05°)
OKLaboklab(58% -0.0315 0.1076)
OKLCHoklch(58% 0.112 106.3)
XYZxyz(17.0689, 19.8466, 4.2277)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E1F #1F2483
analogous
#834C1F #837E1F #56831F
triadic
#837E1F #1F837E #7E1F83
tetradic
#837E1F #1F834C #1F2483 #831F56
square
#837E1F #1F834C #1F2483 #831F56
split-complementary
#837E1F #1F5683 #4C1F83
monochromatic
#201F08 #524E13 #837E1F #B4AE2B #D4CD49

Accessibility & contrast

On white

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

On black

4.97
#837E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E1F#FFFFFF#000000##000000
##837E1F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e1f;
/* rgb */ color: rgb(131, 126, 31);
/* oklch */ color: oklch(58.0% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#aaa363',
    500: '#837e1f',
    950: '#000000',
  },
}
SCSS
$custom: #837e1f;
$custom-light: #aaa363;
$custom-dark: #000000;
JSON
{
  "hex": "#837e1f",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 57,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.11214,
    "h": 106.3
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#837E1F
secondary
#484EB6
accent
#4BE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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