#837F20#837F20

#837F20 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.113 H 107.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#837F20
RGBrgb(131, 127, 32)
HSLhsl(58, 61%, 32%)
HSVhsv(58, 76%, 51%)
CMYKcmyk(0%, 3.1%, 75.6%, 48.6%)
CIE-LABlab(51.96, -10.06, 48.85)
CIE-LCHlch(51.96, 49.87, 101.64°)
OKLaboklab(58.24% -0.0328 0.1076)
OKLCHoklch(58.24% 0.113 107)
XYZxyz(17.2108, 20.1089, 4.3410)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F20 #202483
analogous
#834E20 #837F20 #568320
triadic
#837F20 #20837F #7F2083
tetradic
#837F20 #20834E #202483 #832056
square
#837F20 #20834E #202483 #832056
split-complementary
#837F20 #205683 #4E2083
monochromatic
#212008 #524F14 #837F20 #B4AF2C #D3CD4A

Accessibility & contrast

On white

4.18
#837F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#837F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F20#FFFFFF#000000##000000
##837F201.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#8D766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f20;
/* rgb */ color: rgb(131, 127, 32);
/* oklch */ color: oklch(58.2% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#aaa363',
    500: '#837f20',
    950: '#000000',
  },
}
SCSS
$custom: #837f20;
$custom-light: #aaa363;
$custom-dark: #000000;
JSON
{
  "hex": "#837f20",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 57.576,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.11252,
    "h": 107
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#837F20
secondary
#494EB6
accent
#4AE444
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837F20

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

Preview Lab → · Contrast checker → · Palette generator →

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