#837E22#837E22

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

Color values

HEX#837E22
RGBrgb(131, 126, 34)
HSLhsl(57, 59%, 32%)
HSVhsv(57, 74%, 51%)
CMYKcmyk(0%, 3.8%, 74%, 48.6%)
CIE-LABlab(51.68, -9.41, 47.82)
CIE-LCHlch(51.68, 48.74, 101.13°)
OKLaboklab(58.02% -0.0308 0.1058)
OKLCHoklch(58.02% 0.11 106.2)
XYZxyz(17.1103, 19.8631, 4.4457)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E22 #222783
analogous
#834D22 #837E22 #588322
triadic
#837E22 #22837E #7E2283
tetradic
#837E22 #22834D #222783 #832258
square
#837E22 #22834D #222783 #832258
split-complementary
#837E22 #225883 #4D2283
monochromatic
#222109 #524F15 #837E22 #B4AD2F #D1CA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##837E22#FFFFFF#000000##000000
##837E221.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #837e22;
/* rgb */ color: rgb(131, 126, 34);
/* oklch */ color: oklch(58.0% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#aaa364',
    500: '#837e22',
    950: '#000000',
  },
}
SCSS
$custom: #837e22;
$custom-light: #aaa364;
$custom-dark: #000000;
JSON
{
  "hex": "#837e22",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 56.907,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.11024,
    "h": 106.2
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#837E22
secondary
#4C52B4
accent
#4EE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837E22

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

Preview Lab → · Contrast checker → · Palette generator →

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