#837D2F#837D2F

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

Color values

HEX#837D2F
RGBrgb(131, 125, 47)
HSLhsl(56, 47%, 35%)
HSVhsv(56, 64%, 51%)
CMYKcmyk(0%, 4.6%, 64.1%, 48.6%)
CIE-LABlab(51.49, -8.07, 42.06)
CIE-LCHlch(51.49, 42.83, 100.86°)
OKLaboklab(57.91% -0.0255 0.0959)
OKLCHoklch(57.91% 0.099 104.9)
XYZxyz(17.2074, 19.6984, 5.5845)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D2F #2F3583
analogous
#83532F #837D2F #5F832F
triadic
#837D2F #2F837D #7D2F83
tetradic
#837D2F #2F8353 #2F3583 #832F5F
square
#837D2F #2F8353 #2F3583 #832F5F
split-complementary
#837D2F #2F5F83 #532F83
monochromatic
#29270F #56521F #837D2F #B0A83F #C8C165

Accessibility & contrast

On white

4.25
#837D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#837D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D2F#FFFFFF#000000##000000
##837D2F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#8C756D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837d2f;
/* rgb */ color: rgb(131, 125, 47);
/* oklch */ color: oklch(57.9% 0.099 104.9);
Tailwind
colors: {
  custom: {
    50: '#a9a26b',
    500: '#837d2f',
    950: '#000000',
  },
}
SCSS
$custom: #837d2f;
$custom-light: #a9a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#837d2f",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 55.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.09928,
    "h": 104.9
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#837D2F
secondary
#5F65AF
accent
#5BD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #837D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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