#837F1F#837F1F

#837F1F 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#837F1F
RGBrgb(131, 127, 31)
HSLhsl(58, 62%, 32%)
HSVhsv(58, 76%, 51%)
CMYKcmyk(0%, 3.1%, 76.3%, 48.6%)
CIE-LABlab(51.95, -10.11, 49.21)
CIE-LCHlch(51.95, 50.24, 101.61°)
OKLaboklab(58.24% -0.0331 0.1082)
OKLCHoklch(58.24% 0.113 107)
XYZxyz(17.1975, 20.1036, 4.2705)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F1F #1F2383
analogous
#834D1F #837F1F #55831F
triadic
#837F1F #1F837F #7F1F83
tetradic
#837F1F #1F834D #1F2383 #831F55
square
#837F1F #1F834D #1F2383 #831F55
split-complementary
#837F1F #1F5583 #4D1F83
monochromatic
#201F08 #524F13 #837F1F #B4AF2B #D4CE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837F1F#FFFFFF#000000##000000
##837F1F1.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)
#8A7A0B
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#8D766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f1f;
/* rgb */ color: rgb(131, 127, 31);
/* oklch */ color: oklch(58.2% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#aaa363',
    500: '#837f1f',
    950: '#000000',
  },
}
SCSS
$custom: #837f1f;
$custom-light: #aaa363;
$custom-dark: #000000;
JSON
{
  "hex": "#837f1f",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 57.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.11313,
    "h": 107
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#837F1F
secondary
#484CB6
accent
#49E543
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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