#837F2D#837F2D

#837F2D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.103 H 106.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#837F2D
RGBrgb(131, 127, 45)
HSLhsl(57, 49%, 35%)
HSVhsv(57, 66%, 51%)
CMYKcmyk(0%, 3.1%, 65.6%, 48.6%)
CIE-LABlab(52.06, -9.31, 43.58)
CIE-LCHlch(52.06, 44.56, 102.06°)
OKLaboklab(58.35% -0.0293 0.0988)
OKLCHoklch(58.35% 0.103 106.5)
XYZxyz(17.4237, 20.1941, 5.4621)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F2D #2D3183
analogous
#83542D #837F2D #5C832D
triadic
#837F2D #2D837F #7F2D83
tetradic
#837F2D #2D8354 #2D3183 #832D5C
square
#837F2D #2D8354 #2D3183 #832D5C
split-complementary
#837F2D #2D5C83 #542D83
monochromatic
#28270E #55531D #837F2D #B1AB3D #C9C462

Accessibility & contrast

On white

4.17
#837F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#837F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F2D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F2D#FFFFFF#000000##000000
##837F2D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A23
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#8C776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f2d;
/* rgb */ color: rgb(131, 127, 45);
/* oklch */ color: oklch(58.3% 0.103 106.5);
Tailwind
colors: {
  custom: {
    50: '#aaa36a',
    500: '#837f2d',
    950: '#000000',
  },
}
SCSS
$custom: #837f2d;
$custom-light: #aaa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#837f2d",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 57.209,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.10308,
    "h": 106.5
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#837F2D
secondary
#5C60AF
accent
#56D84F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #837F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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