#837F1E#837F1E

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

Color values

HEX#837F1E
RGBrgb(131, 127, 30)
HSLhsl(58, 63%, 32%)
HSVhsv(58, 77%, 51%)
CMYKcmyk(0%, 3.1%, 77.1%, 48.6%)
CIE-LABlab(51.95, -10.15, 49.56)
CIE-LCHlch(51.95, 50.59, 101.58°)
OKLaboklab(58.23% -0.0333 0.1088)
OKLCHoklch(58.23% 0.114 107)
XYZxyz(17.1845, 20.0984, 4.2022)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F1E #1E2283
analogous
#834D1E #837F1E #55831E
triadic
#837F1E #1E837F #7F1E83
tetradic
#837F1E #1E834D #1E2283 #831E55
square
#837F1E #1E834D #1E2283 #831E55
split-complementary
#837F1E #1E5583 #4D1E83
monochromatic
#1F1E07 #514F13 #837F1E #B5AF29 #D5CF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #837f1e;
/* rgb */ color: rgb(131, 127, 30);
/* oklch */ color: oklch(58.2% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#aaa362',
    500: '#837f1e',
    950: '#000000',
  },
}
SCSS
$custom: #837f1e;
$custom-light: #aaa362;
$custom-dark: #000000;
JSON
{
  "hex": "#837f1e",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 57.624,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.11373,
    "h": 107
  },
  "luminance": 0.20098
}

Semantic roles & 50–950 ramp

primary
#837F1E
secondary
#474BB6
accent
#48E642
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #837F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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