#837C1B#837C1B

#837C1B is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.113 H 105.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#837C1B
RGBrgb(131, 124, 27)
HSLhsl(56, 66%, 31%)
HSVhsv(56, 79%, 51%)
CMYKcmyk(0%, 5.3%, 79.4%, 48.6%)
CIE-LABlab(51.06, -8.64, 49.79)
CIE-LCHlch(51.06, 50.53, 99.84°)
OKLaboklab(57.52% -0.0293 0.1086)
OKLCHoklch(57.52% 0.113 105.1)
XYZxyz(16.7663, 19.3204, 3.8827)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837C1B #1B2283
analogous
#83481B #837C1B #56831B
triadic
#837C1B #1B837C #7C1B83
tetradic
#837C1B #1B8348 #1B2283 #831B56
square
#837C1B #1B8348 #1B2283 #831B56
split-complementary
#837C1B #1B5683 #481B83
monochromatic
#1E1C06 #504C11 #837C1B #B6AC25 #D8CE41

Accessibility & contrast

On white

4.32
#837C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#837C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837C1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837C1B#FFFFFF#000000##000000
##837C1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#8D736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837c1b;
/* rgb */ color: rgb(131, 124, 27);
/* oklch */ color: oklch(57.5% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#aaa160',
    500: '#837c1b',
    950: '#000000',
  },
}
SCSS
$custom: #837c1b;
$custom-light: #aaa160;
$custom-dark: #000000;
JSON
{
  "hex": "#837c1b",
  "rgb": {
    "r": 131,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 55.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.11252,
    "h": 105.1
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#837C1B
secondary
#434BB6
accent
#4AE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #837C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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