#837D2A#837D2A

#837D2A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.103 H 105.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#837D2A
RGBrgb(131, 125, 42)
HSLhsl(56, 51%, 34%)
HSVhsv(56, 68%, 51%)
CMYKcmyk(0%, 4.6%, 67.9%, 48.6%)
CIE-LABlab(51.45, -8.40, 44.28)
CIE-LCHlch(51.45, 45.07, 100.75°)
OKLaboklab(57.86% -0.0271 0.0998)
OKLCHoklch(57.86% 0.103 105.2)
XYZxyz(17.1123, 19.6603, 5.0835)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D2A #2A3083
analogous
#83512A #837D2A #5D832A
triadic
#837D2A #2A837D #7D2A83
tetradic
#837D2A #2A8351 #2A3083 #832A5D
square
#837D2A #2A8351 #2A3083 #832A5D
split-complementary
#837D2A #2A5D83 #512A83
monochromatic
#26250C #55511B #837D2A #B1A939 #CBC35D

Accessibility & contrast

On white

4.26
#837D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#837D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D2A#FFFFFF#000000##000000
##837D2A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837d2a;
/* rgb */ color: rgb(131, 125, 42);
/* oklch */ color: oklch(57.9% 0.103 105.2);
Tailwind
colors: {
  custom: {
    50: '#aaa268',
    500: '#837d2a',
    950: '#000000',
  },
}
SCSS
$custom: #837d2a;
$custom-light: #aaa268;
$custom-dark: #000000;
JSON
{
  "hex": "#837d2a",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 55.955,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.10343,
    "h": 105.2
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#837D2A
secondary
#585EB1
accent
#56DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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