#837E2F#837E2F

#837E2F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.100 H 105.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#837E2F
RGBrgb(131, 126, 47)
HSLhsl(56, 47%, 35%)
HSVhsv(56, 64%, 51%)
CMYKcmyk(0%, 3.8%, 64.1%, 48.6%)
CIE-LABlab(51.78, -8.62, 42.37)
CIE-LCHlch(51.78, 43.24, 101.50°)
OKLaboklab(58.14% -0.0271 0.0966)
OKLCHoklch(58.14% 0.1 105.7)
XYZxyz(17.3346, 19.9528, 5.6269)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E2F #2F3483
analogous
#83542F #837E2F #5E832F
triadic
#837E2F #2F837E #7E2F83
tetradic
#837E2F #2F8354 #2F3483 #832F5E
square
#837E2F #2F8354 #2F3483 #832F5E
split-complementary
#837E2F #2F5E83 #542F83
monochromatic
#29270F #56531F #837E2F #B0A93F #C8C265

Accessibility & contrast

On white

4.21
#837E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#837E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E2F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E2F#FFFFFF#000000##000000
##837E2F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897926
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e2f;
/* rgb */ color: rgb(131, 126, 47);
/* oklch */ color: oklch(58.1% 0.100 105.7);
Tailwind
colors: {
  custom: {
    50: '#a9a36b',
    500: '#837e2f',
    950: '#000000',
  },
}
SCSS
$custom: #837e2f;
$custom-light: #a9a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#837e2f",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 56.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.10033,
    "h": 105.7
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#837E2F
secondary
#5F64AF
accent
#59D751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #837E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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