#837E25#837E25

#837E25 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.108 H 106.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#837E25
RGBrgb(131, 126, 37)
HSLhsl(57, 56%, 33%)
HSVhsv(57, 72%, 51%)
CMYKcmyk(0%, 3.8%, 71.8%, 48.6%)
CIE-LABlab(51.70, -9.25, 46.65)
CIE-LCHlch(51.70, 47.56, 101.22°)
OKLaboklab(58.05% -0.03 0.1039)
OKLCHoklch(58.05% 0.108 106.1)
XYZxyz(17.1555, 19.8812, 4.6837)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E25 #252A83
analogous
#834F25 #837E25 #598325
triadic
#837E25 #25837E #7E2583
tetradic
#837E25 #25834F #252A83 #832559
square
#837E25 #25834F #252A83 #832559
split-complementary
#837E25 #255983 #4F2583
monochromatic
#24220A #535018 #837E25 #B3AC32 #CFC854

Accessibility & contrast

On white

4.22
#837E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#837E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E25
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E25#FFFFFF#000000##000000
##837E251.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #837e25;
/* rgb */ color: rgb(131, 126, 37);
/* oklch */ color: oklch(58.0% 0.108 106.1);
Tailwind
colors: {
  custom: {
    50: '#aaa366',
    500: '#837e25',
    950: '#000000',
  },
}
SCSS
$custom: #837e25;
$custom-light: #aaa366;
$custom-dark: #000000;
JSON
{
  "hex": "#837e25",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 56.809,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.10819,
    "h": 106.1
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#837E25
secondary
#5156B3
accent
#51DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837E25

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

Preview Lab → · Contrast checker → · Palette generator →

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