#837E1D#837E1D

#837E1D is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.113 H 106.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#837E1D
RGBrgb(131, 126, 29)
HSLhsl(57, 64%, 31%)
HSVhsv(57, 78%, 51%)
CMYKcmyk(0%, 3.8%, 77.9%, 48.6%)
CIE-LABlab(51.65, -9.65, 49.64)
CIE-LCHlch(51.65, 50.57, 101.00°)
OKLaboklab(57.99% -0.032 0.1087)
OKLCHoklch(57.99% 0.113 106.4)
XYZxyz(17.0434, 19.8363, 4.0932)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E1D #1D2283
analogous
#834B1D #837E1D #55831D
triadic
#837E1D #1D837E #7E1D83
tetradic
#837E1D #1D834B #1D2283 #831D55
square
#837E1D #1D834B #1D2283 #831D55
split-complementary
#837E1D #1D5583 #4B1D83
monochromatic
#1F1E07 #514E12 #837E1D #B5AE28 #D6CF45

Accessibility & contrast

On white

4.23
#837E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#837E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E1D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E1D#FFFFFF#000000##000000
##837E1D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e1d;
/* rgb */ color: rgb(131, 126, 29);
/* oklch */ color: oklch(58.0% 0.113 106.4);
Tailwind
colors: {
  custom: {
    50: '#aaa362',
    500: '#837e1d',
    950: '#000000',
  },
}
SCSS
$custom: #837e1d;
$custom-light: #aaa362;
$custom-dark: #000000;
JSON
{
  "hex": "#837e1d",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 57.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.11333,
    "h": 106.4
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#837E1D
secondary
#464BB6
accent
#49E741
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #837E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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