#837F2A#837F2A

#837F2A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.105 H 106.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#837F2A
RGBrgb(131, 127, 42)
HSLhsl(57, 51%, 34%)
HSVhsv(57, 68%, 51%)
CMYKcmyk(0%, 3.1%, 67.9%, 48.6%)
CIE-LABlab(52.03, -9.51, 44.88)
CIE-LCHlch(52.03, 45.87, 101.96°)
OKLaboklab(58.32% -0.0302 0.1011)
OKLCHoklch(58.32% 0.106 106.6)
XYZxyz(17.3680, 20.1718, 5.1687)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F2A #2A2E83
analogous
#83532A #837F2A #5B832A
triadic
#837F2A #2A837F #7F2A83
tetradic
#837F2A #2A8353 #2A2E83 #832A5B
square
#837F2A #2A8353 #2A2E83 #832A5B
split-complementary
#837F2A #2A5B83 #532A83
monochromatic
#26250C #55521B #837F2A #B1AC39 #CBC65D

Accessibility & contrast

On white

4.17
#837F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#837F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F2A#FFFFFF#000000##000000
##837F2A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f2a;
/* rgb */ color: rgb(131, 127, 42);
/* oklch */ color: oklch(58.3% 0.105 106.6);
Tailwind
colors: {
  custom: {
    50: '#aaa369',
    500: '#837f2a',
    950: '#000000',
  },
}
SCSS
$custom: #837f2a;
$custom-light: #aaa369;
$custom-dark: #000000;
JSON
{
  "hex": "#837f2a",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 57.303,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.1055,
    "h": 106.6
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#837F2A
secondary
#585CB1
accent
#53DB4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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