#837F1B#837F1B

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

Color values

HEX#837F1B
RGBrgb(131, 127, 27)
HSLhsl(58, 66%, 31%)
HSVhsv(58, 79%, 51%)
CMYKcmyk(0%, 3.1%, 79.4%, 48.6%)
CIE-LABlab(51.93, -10.28, 50.58)
CIE-LCHlch(51.93, 51.62, 101.49°)
OKLaboklab(58.21% -0.0339 0.1103)
OKLCHoklch(58.21% 0.115 107.1)
XYZxyz(17.1480, 20.0838, 4.0100)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F1B #1B1F83
analogous
#834B1B #837F1B #53831B
triadic
#837F1B #1B837F #7F1B83
tetradic
#837F1B #1B834B #1B1F83 #831B53
square
#837F1B #1B834B #1B1F83 #831B53
split-complementary
#837F1B #1B5383 #4B1B83
monochromatic
#1E1D06 #504E11 #837F1B #B6B025 #D8D241

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837F1B#FFFFFF#000000##000000
##837F1B1.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)
#8A7A01
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8D766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f1b;
/* rgb */ color: rgb(131, 127, 27);
/* oklch */ color: oklch(58.2% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#aaa361',
    500: '#837f1b',
    950: '#000000',
  },
}
SCSS
$custom: #837f1b;
$custom-light: #aaa361;
$custom-dark: #000000;
JSON
{
  "hex": "#837f1b",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 57.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.11542,
    "h": 107.1
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#837F1B
secondary
#4348B6
accent
#46E93F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #837F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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