#837E1C#837E1C

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

Color values

HEX#837E1C
RGBrgb(131, 126, 28)
HSLhsl(57, 65%, 31%)
HSVhsv(57, 79%, 51%)
CMYKcmyk(0%, 3.8%, 78.6%, 48.6%)
CIE-LABlab(51.65, -9.69, 49.98)
CIE-LCHlch(51.65, 50.92, 100.97°)
OKLaboklab(57.98% -0.0322 0.1092)
OKLCHoklch(57.98% 0.114 106.4)
XYZxyz(17.0312, 19.8315, 4.0291)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E1C #1C2183
analogous
#834A1C #837E1C #54831C
triadic
#837E1C #1C837E #7E1C83
tetradic
#837E1C #1C834A #1C2183 #831C54
square
#837E1C #1C834A #1C2183 #831C54
split-complementary
#837E1C #1C5483 #4A1C83
monochromatic
#1E1D06 #514D11 #837E1C #B5AE27 #D7D043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837E1C#FFFFFF#000000##000000
##837E1C1.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)
#897904
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#8D756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e1c;
/* rgb */ color: rgb(131, 126, 28);
/* oklch */ color: oklch(58.0% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#aaa361',
    500: '#837e1c',
    950: '#000000',
  },
}
SCSS
$custom: #837e1c;
$custom-light: #aaa361;
$custom-dark: #000000;
JSON
{
  "hex": "#837e1c",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 57.087,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.11389,
    "h": 106.4
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#837E1C
secondary
#454AB6
accent
#48E840
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #837E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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