#837822#837822

#837822 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.105 H 101.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#837822
RGBrgb(131, 120, 34)
HSLhsl(53, 59%, 32%)
HSVhsv(53, 74%, 51%)
CMYKcmyk(0%, 8.4%, 74%, 48.6%)
CIE-LABlab(49.95, -6.09, 46.14)
CIE-LCHlch(49.95, 46.54, 97.52°)
OKLaboklab(56.64% -0.0214 0.1023)
OKLCHoklch(56.64% 0.105 101.8)
XYZxyz(16.3660, 18.3744, 4.1976)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837822 #222D83
analogous
#834822 #837822 #5D8322
triadic
#837822 #228378 #782283
tetradic
#837822 #228348 #222D83 #83225D
square
#837822 #228348 #222D83 #83225D
split-complementary
#837822 #225D83 #482283
monochromatic
#221F09 #524B15 #837822 #B4A52F #D1C24E

Accessibility & contrast

On white

4.49
#837822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#837822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837822
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837822#FFFFFF#000000##000000
##8378221.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#8D6F67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #837822;
/* rgb */ color: rgb(131, 120, 34);
/* oklch */ color: oklch(56.6% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#aa9e63',
    500: '#837822',
    950: '#000000',
  },
}
SCSS
$custom: #837822;
$custom-light: #aa9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#837822",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 53.196,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.10451,
    "h": 101.8
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#837822
secondary
#4C58B4
accent
#58E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #837822

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

Preview Lab → · Contrast checker → · Palette generator →

#837822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva