#837F2B#837F2B

#837F2B 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.04:1 contrast (WCAG AA passes).

Color values

HEX#837F2B
RGBrgb(131, 127, 43)
HSLhsl(57, 51%, 34%)
HSVhsv(57, 67%, 51%)
CMYKcmyk(0%, 3.1%, 67.2%, 48.6%)
CIE-LABlab(52.04, -9.44, 44.45)
CIE-LCHlch(52.04, 45.44, 101.99°)
OKLaboklab(58.33% -0.0299 0.1004)
OKLCHoklch(58.33% 0.105 106.6)
XYZxyz(17.3861, 20.1790, 5.2641)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F2B #2B2F83
analogous
#83532B #837F2B #5B832B
triadic
#837F2B #2B837F #7F2B83
tetradic
#837F2B #2B8353 #2B2F83 #832B5B
square
#837F2B #2B8353 #2B2F83 #832B5B
split-complementary
#837F2B #2B5B83 #532B83
monochromatic
#27260D #55521C #837F2B #B1AC3A #CAC55E

Accessibility & contrast

On white

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

On black

5.04
#837F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F2B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F2B#FFFFFF#000000##000000
##837F2B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #837f2b;
/* rgb */ color: rgb(131, 127, 43);
/* oklch */ color: oklch(58.3% 0.105 106.6);
Tailwind
colors: {
  custom: {
    50: '#aaa369',
    500: '#837f2b',
    950: '#000000',
  },
}
SCSS
$custom: #837f2b;
$custom-light: #aaa369;
$custom-dark: #000000;
JSON
{
  "hex": "#837f2b",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 57.273,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.10471,
    "h": 106.6
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#837F2B
secondary
#5A5EB0
accent
#54DA4E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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