#837D2B#837D2B

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

Color values

HEX#837D2B
RGBrgb(131, 125, 43)
HSLhsl(56, 51%, 34%)
HSVhsv(56, 67%, 51%)
CMYKcmyk(0%, 4.6%, 67.2%, 48.6%)
CIE-LABlab(51.46, -8.34, 43.85)
CIE-LCHlch(51.46, 44.63, 100.77°)
OKLaboklab(57.87% -0.0268 0.0991)
OKLCHoklch(57.87% 0.103 105.1)
XYZxyz(17.1304, 19.6676, 5.1789)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D2B #2B3183
analogous
#83512B #837D2B #5D832B
triadic
#837D2B #2B837D #7D2B83
tetradic
#837D2B #2B8351 #2B3183 #832B5D
square
#837D2B #2B8351 #2B3183 #832B5D
split-complementary
#837D2B #2B5D83 #512B83
monochromatic
#27250D #55511C #837D2B #B1A93A #CAC35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837D2B#FFFFFF#000000##000000
##837D2B1.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)
#887920
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837d2b;
/* rgb */ color: rgb(131, 125, 43);
/* oklch */ color: oklch(57.9% 0.103 105.1);
Tailwind
colors: {
  custom: {
    50: '#aaa269',
    500: '#837d2b',
    950: '#000000',
  },
}
SCSS
$custom: #837d2b;
$custom-light: #aaa269;
$custom-dark: #000000;
JSON
{
  "hex": "#837d2b",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 55.909,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.10263,
    "h": 105.1
  },
  "luminance": 0.19667
}

Semantic roles & 50–950 ramp

primary
#837D2B
secondary
#5A60B0
accent
#57DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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