#837B1B#837B1B

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

Color values

HEX#837B1B
RGBrgb(131, 123, 27)
HSLhsl(55, 66%, 31%)
HSVhsv(55, 79%, 51%)
CMYKcmyk(0%, 6.1%, 79.4%, 48.6%)
CIE-LABlab(50.77, -8.08, 49.53)
CIE-LCHlch(50.77, 50.18, 99.27°)
OKLaboklab(57.28% -0.0278 0.1081)
OKLCHoklch(57.28% 0.112 104.4)
XYZxyz(16.6416, 19.0710, 3.8412)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837B1B #1B2383
analogous
#83471B #837B1B #57831B
triadic
#837B1B #1B837B #7B1B83
tetradic
#837B1B #1B8347 #1B2383 #831B57
square
#837B1B #1B8347 #1B2383 #831B57
split-complementary
#837B1B #1B5783 #471B83
monochromatic
#1E1C06 #504B11 #837B1B #B6AB25 #D8CC41

Accessibility & contrast

On white

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

On black

4.81
#837B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837B1B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837B1B#FFFFFF#000000##000000
##837B1B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877604
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#8D7269
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #837b1b;
/* rgb */ color: rgb(131, 123, 27);
/* oklch */ color: oklch(57.3% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#aaa060',
    500: '#837b1b',
    950: '#000000',
  },
}
SCSS
$custom: #837b1b;
$custom-light: #aaa060;
$custom-dark: #000000;
JSON
{
  "hex": "#837b1b",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 55.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.11159,
    "h": 104.4
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#837B1B
secondary
#434CB6
accent
#4CE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #837B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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