#837840#837840

#837840 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.077 H 98.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#837840
RGBrgb(131, 120, 64)
HSLhsl(50, 34%, 38%)
HSVhsv(50, 51%, 51%)
CMYKcmyk(0%, 8.4%, 51.1%, 48.6%)
CIE-LABlab(50.25, -3.83, 32.06)
CIE-LCHlch(50.25, 32.29, 96.82°)
OKLaboklab(56.98% -0.0114 0.0764)
OKLCHoklch(56.98% 0.077 98.5)
XYZxyz(17.0025, 18.6290, 7.5496)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837840 #404B83
analogous
#835640 #837840 #6C8340
triadic
#837840 #408378 #784083
tetradic
#837840 #408356 #404B83 #83406C
square
#837840 #408356 #404B83 #83406C
split-complementary
#837840 #406C83 #564083
monochromatic
#312D18 #5A522C #837840 #AC9D54 #C0B57E

Accessibility & contrast

On white

4.44
#837840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#837840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837840
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837840#FFFFFF#000000##000000
##8378401.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#857942
Tritanopia (blue-blind)
#8C716B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #837840;
/* rgb */ color: rgb(131, 120, 64);
/* oklch */ color: oklch(57.0% 0.077 98.5);
Tailwind
colors: {
  custom: {
    50: '#a99e76',
    500: '#837840',
    950: '#000000',
  },
}
SCSS
$custom: #837840;
$custom-light: #a99e76;
$custom-dark: #000000;
JSON
{
  "hex": "#837840",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 50.149,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.07725,
    "h": 98.5
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#837840
secondary
#757DAA
accent
#6FCA5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #837840

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

Preview Lab → · Contrast checker → · Palette generator →

#837840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva