#837F2E#837F2E

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

Color values

HEX#837F2E
RGBrgb(131, 127, 46)
HSLhsl(57, 48%, 35%)
HSVhsv(57, 65%, 51%)
CMYKcmyk(0%, 3.1%, 64.9%, 48.6%)
CIE-LABlab(52.06, -9.24, 43.13)
CIE-LCHlch(52.06, 44.11, 102.09°)
OKLaboklab(58.36% -0.029 0.0981)
OKLCHoklch(58.36% 0.102 106.5)
XYZxyz(17.4432, 20.2019, 5.5647)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F2E #2E3283
analogous
#83542E #837F2E #5D832E
triadic
#837F2E #2E837F #7F2E83
tetradic
#837F2E #2E8354 #2E3283 #832E5D
square
#837F2E #2E8354 #2E3283 #832E5D
split-complementary
#837F2E #2E5D83 #542E83
monochromatic
#28270E #56531E #837F2E #B0AB3E #C8C463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837F2E#FFFFFF#000000##000000
##837F2E1.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)
#8A7A24
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#8C776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f2e;
/* rgb */ color: rgb(131, 127, 46);
/* oklch */ color: oklch(58.4% 0.102 106.5);
Tailwind
colors: {
  custom: {
    50: '#aaa36b',
    500: '#837f2e',
    950: '#000000',
  },
}
SCSS
$custom: #837f2e;
$custom-light: #aaa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#837f2e",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 57.176,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.10225,
    "h": 106.5
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#837F2E
secondary
#5E62AF
accent
#57D850
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #837F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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