#837D20#837D20

#837D20 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.111 H 105.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#837D20
RGBrgb(131, 125, 32)
HSLhsl(56, 61%, 32%)
HSVhsv(56, 76%, 51%)
CMYKcmyk(0%, 4.6%, 75.6%, 48.6%)
CIE-LABlab(51.38, -8.96, 48.30)
CIE-LCHlch(51.38, 49.12, 100.51°)
OKLaboklab(57.78% -0.0298 0.1065)
OKLCHoklch(57.78% 0.111 105.6)
XYZxyz(16.9551, 19.5974, 4.2558)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D20 #202683
analogous
#834C20 #837D20 #578320
triadic
#837D20 #20837D #7D2083
tetradic
#837D20 #20834C #202683 #832057
square
#837D20 #20834C #202683 #832057
split-complementary
#837D20 #205783 #4C2083
monochromatic
#211F08 #524E14 #837D20 #B4AC2C #D3CB4A

Accessibility & contrast

On white

4.27
#837D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#837D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D20
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D20#FFFFFF#000000##000000
##837D201.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d20;
/* rgb */ color: rgb(131, 125, 32);
/* oklch */ color: oklch(57.8% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#aaa263',
    500: '#837d20',
    950: '#000000',
  },
}
SCSS
$custom: #837d20;
$custom-light: #aaa263;
$custom-dark: #000000;
JSON
{
  "hex": "#837d20",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 56.364,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.11053,
    "h": 105.6
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#837D20
secondary
#4950B6
accent
#4EE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D20

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

Preview Lab → · Contrast checker → · Palette generator →

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