#837B2E#837B2E

#837B2E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.098 H 103.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#837B2E
RGBrgb(131, 123, 46)
HSLhsl(54, 48%, 35%)
HSVhsv(54, 65%, 51%)
CMYKcmyk(0%, 6.1%, 64.9%, 48.6%)
CIE-LABlab(50.91, -7.03, 41.90)
CIE-LCHlch(50.91, 42.48, 99.53°)
OKLaboklab(57.44% -0.0227 0.0954)
OKLCHoklch(57.44% 0.098 103.4)
XYZxyz(16.9368, 19.1891, 5.3960)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837B2E #2E3683
analogous
#83512E #837B2E #61832E
triadic
#837B2E #2E837B #7B2E83
tetradic
#837B2E #2E8351 #2E3683 #832E61
square
#837B2E #2E8351 #2E3683 #832E61
split-complementary
#837B2E #2E6183 #512E83
monochromatic
#28260E #56501E #837B2E #B0A63E #C8BF63

Accessibility & contrast

On white

4.34
#837B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#837B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837B2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837B2E#FFFFFF#000000##000000
##837B2E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#8D736B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #837b2e;
/* rgb */ color: rgb(131, 123, 46);
/* oklch */ color: oklch(57.4% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#aaa06b',
    500: '#837b2e',
    950: '#000000',
  },
}
SCSS
$custom: #837b2e;
$custom-light: #aaa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#837b2e",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 54.353,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.0981,
    "h": 103.4
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#837B2E
secondary
#5E65AF
accent
#5DD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #837B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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