#837B1F#837B1F

#837B1F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.109 H 104.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#837B1F
RGBrgb(131, 123, 31)
HSLhsl(55, 62%, 32%)
HSVhsv(55, 76%, 51%)
CMYKcmyk(0%, 6.1%, 76.3%, 48.6%)
CIE-LABlab(50.79, -7.91, 48.12)
CIE-LCHlch(50.79, 48.76, 99.33°)
OKLaboklab(57.31% -0.0269 0.1059)
OKLCHoklch(57.31% 0.109 104.3)
XYZxyz(16.6911, 19.0908, 4.1018)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837B1F #1F2783
analogous
#83491F #837B1F #59831F
triadic
#837B1F #1F837B #7B1F83
tetradic
#837B1F #1F8349 #1F2783 #831F59
square
#837B1F #1F8349 #1F2783 #831F59
split-complementary
#837B1F #1F5983 #491F83
monochromatic
#201E08 #524D13 #837B1F #B4A92B #D4C949

Accessibility & contrast

On white

4.36
#837B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#837B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837B1F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837B1F#FFFFFF#000000##000000
##837B1F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770D
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#8D7269
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #837b1f;
/* rgb */ color: rgb(131, 123, 31);
/* oklch */ color: oklch(57.3% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#aaa062',
    500: '#837b1f',
    950: '#000000',
  },
}
SCSS
$custom: #837b1f;
$custom-light: #aaa062;
$custom-dark: #000000;
JSON
{
  "hex": "#837b1f",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 55.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.10923,
    "h": 104.3
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#837B1F
secondary
#4851B6
accent
#50E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #837B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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