#837D1E#837D1E

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

Color values

HEX#837D1E
RGBrgb(131, 125, 30)
HSLhsl(56, 63%, 32%)
HSVhsv(56, 77%, 51%)
CMYKcmyk(0%, 4.6%, 77.1%, 48.6%)
CIE-LABlab(51.37, -9.06, 49.02)
CIE-LCHlch(51.37, 49.85, 100.47°)
OKLaboklab(57.77% -0.0302 0.1076)
OKLCHoklch(57.77% 0.112 105.7)
XYZxyz(16.9287, 19.5869, 4.1170)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D1E #1E2483
analogous
#834B1E #837D1E #57831E
triadic
#837D1E #1E837D #7D1E83
tetradic
#837D1E #1E834B #1E2483 #831E57
square
#837D1E #1E834B #1E2483 #831E57
split-complementary
#837D1E #1E5783 #4B1E83
monochromatic
#1F1E07 #514D13 #837D1E #B5AD29 #D5CC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837D1E#FFFFFF#000000##000000
##837D1E1.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)
#88780A
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d1e;
/* rgb */ color: rgb(131, 125, 30);
/* oklch */ color: oklch(57.8% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#aaa262',
    500: '#837d1e',
    950: '#000000',
  },
}
SCSS
$custom: #837d1e;
$custom-light: #aaa262;
$custom-dark: #000000;
JSON
{
  "hex": "#837d1e",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 56.436,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.11177,
    "h": 105.7
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#837D1E
secondary
#474DB6
accent
#4CE642
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #837D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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