#837B2D#837B2D

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

Color values

HEX#837B2D
RGBrgb(131, 123, 45)
HSLhsl(54, 49%, 35%)
HSVhsv(54, 66%, 51%)
CMYKcmyk(0%, 6.1%, 65.6%, 48.6%)
CIE-LABlab(50.90, -7.10, 42.35)
CIE-LCHlch(50.90, 42.94, 99.52°)
OKLaboklab(57.43% -0.023 0.0962)
OKLCHoklch(57.43% 0.099 103.5)
XYZxyz(16.9173, 19.1813, 5.2934)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837B2D #2D3583
analogous
#83502D #837B2D #60832D
triadic
#837B2D #2D837B #7B2D83
tetradic
#837B2D #2D8350 #2D3583 #832D60
square
#837B2D #2D8350 #2D3583 #832D60
split-complementary
#837B2D #2D6083 #502D83
monochromatic
#28250E #55501D #837B2D #B1A63D #C9BF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837B2D#FFFFFF#000000##000000
##837B2D1.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)
#867723
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#8D736B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #837b2d;
/* rgb */ color: rgb(131, 123, 45);
/* oklch */ color: oklch(57.4% 0.099 103.5);
Tailwind
colors: {
  custom: {
    50: '#aaa06a',
    500: '#837b2d',
    950: '#000000',
  },
}
SCSS
$custom: #837b2d;
$custom-light: #aaa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#837b2d",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 54.419,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.09896,
    "h": 103.5
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#837B2D
secondary
#5C64AF
accent
#5CD84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #837B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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