#837D22#837D22

#837D22 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.109 H 105.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#837D22
RGBrgb(131, 125, 34)
HSLhsl(56, 59%, 32%)
HSVhsv(56, 74%, 51%)
CMYKcmyk(0%, 4.6%, 74%, 48.6%)
CIE-LABlab(51.39, -8.86, 47.54)
CIE-LCHlch(51.39, 48.36, 100.56°)
OKLaboklab(57.79% -0.0293 0.1053)
OKLCHoklch(57.79% 0.109 105.5)
XYZxyz(16.9831, 19.6087, 4.4033)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D22 #222883
analogous
#834D22 #837D22 #588322
triadic
#837D22 #22837D #7D2283
tetradic
#837D22 #22834D #222883 #832258
square
#837D22 #22834D #222883 #832258
split-complementary
#837D22 #225883 #4D2283
monochromatic
#222009 #524F15 #837D22 #B4AB2F #D1C94E

Accessibility & contrast

On white

4.27
#837D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#837D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D22#FFFFFF#000000##000000
##837D221.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d22;
/* rgb */ color: rgb(131, 125, 34);
/* oklch */ color: oklch(57.8% 0.109 105.5);
Tailwind
colors: {
  custom: {
    50: '#aaa264',
    500: '#837d22',
    950: '#000000',
  },
}
SCSS
$custom: #837d22;
$custom-light: #aaa264;
$custom-dark: #000000;
JSON
{
  "hex": "#837d22",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 56.289,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.10924,
    "h": 105.5
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#837D22
secondary
#4C53B4
accent
#4FE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D22

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

Preview Lab → · Contrast checker → · Palette generator →

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