#828131#828131

#828131 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.102 H 108.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#828131
RGBrgb(130, 129, 49)
HSLhsl(59, 45%, 35%)
HSVhsv(59, 62%, 51%)
CMYKcmyk(0%, 0.8%, 62.3%, 49%)
CIE-LABlab(52.58, -10.58, 42.28)
CIE-LCHlch(52.58, 43.59, 104.04°)
OKLaboklab(58.76% -0.0323 0.0967)
OKLCHoklch(58.76% 0.102 108.5)
XYZxyz(17.6111, 20.6686, 5.9669)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828131 #313282
analogous
#825831 #828131 #5B8231
triadic
#828131 #318281 #813182
tetradic
#828131 #318258 #313282 #82315B
square
#828131 #318258 #313282 #82315B
split-complementary
#828131 #315B82 #583182
monochromatic
#29290F #565520 #828131 #AEAD42 #C6C568

Accessibility & contrast

On white

4.09
#828131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#828131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828131
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828131#FFFFFF#000000##000000
##8281311.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C28
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#8B7970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #828131;
/* rgb */ color: rgb(130, 129, 49);
/* oklch */ color: oklch(58.8% 0.102 108.5);
Tailwind
colors: {
  custom: {
    50: '#a9a56d',
    500: '#828131',
    950: '#000000',
  },
}
SCSS
$custom: #828131;
$custom-light: #a9a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#828131",
  "rgb": {
    "r": 130,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 59.259,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.10201,
    "h": 108.5
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#828131
secondary
#6262AD
accent
#54D553
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #828131

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

Preview Lab → · Contrast checker → · Palette generator →

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