#837E20#837E20

#837E20 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.112 H 106.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#837E20
RGBrgb(131, 126, 32)
HSLhsl(57, 61%, 32%)
HSVhsv(57, 76%, 51%)
CMYKcmyk(0%, 3.8%, 75.6%, 48.6%)
CIE-LABlab(51.67, -9.51, 48.57)
CIE-LCHlch(51.67, 49.50, 101.08°)
OKLaboklab(58.01% -0.0313 0.107)
OKLCHoklch(58.01% 0.112 106.3)
XYZxyz(17.0823, 19.8519, 4.2982)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E20 #202583
analogous
#834D20 #837E20 #578320
triadic
#837E20 #20837E #7E2083
tetradic
#837E20 #20834D #202583 #832057
square
#837E20 #20834D #202583 #832057
split-complementary
#837E20 #205783 #4D2083
monochromatic
#211F08 #524F14 #837E20 #B4AD2C #D3CC4A

Accessibility & contrast

On white

4.23
#837E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#837E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E20#FFFFFF#000000##000000
##837E201.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e20;
/* rgb */ color: rgb(131, 126, 32);
/* oklch */ color: oklch(58.0% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#aaa363',
    500: '#837e20',
    950: '#000000',
  },
}
SCSS
$custom: #837e20;
$custom-light: #aaa363;
$custom-dark: #000000;
JSON
{
  "hex": "#837e20",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 56.97,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.11152,
    "h": 106.3
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#837E20
secondary
#494FB6
accent
#4CE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837E20

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

Preview Lab → · Contrast checker → · Palette generator →

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