#828840#828840

#828840 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.096 H 113.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#828840
RGBrgb(130, 136, 64)
HSLhsl(65, 36%, 39%)
HSVhsv(65, 53%, 53%)
CMYKcmyk(4.4%, 0%, 52.9%, 46.7%)
CIE-LABlab(54.79, -13.09, 37.46)
CIE-LCHlch(54.79, 39.68, 109.27°)
OKLaboklab(60.57% -0.0378 0.0882)
OKLCHoklch(60.57% 0.096 113.2)
XYZxyz(18.9358, 22.7246, 8.2383)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828840 #464088
analogous
#886A40 #828840 #5E8840
triadic
#828840 #408288 #884082
tetradic
#828840 #40886A #464088 #88405E
square
#828840 #40886A #464088 #88405E
split-complementary
#828840 #405E88 #6A4088
monochromatic
#323519 #5A5E2C #828840 #A8AF56 #BDC37F

Accessibility & contrast

On white

3.79
#828840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#828840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828840
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828840#FFFFFF#000000##000000
##8288401.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#8A8178
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #828840;
/* rgb */ color: rgb(130, 136, 64);
/* oklch */ color: oklch(60.6% 0.096 113.2);
Tailwind
colors: {
  custom: {
    50: '#a8aa77',
    500: '#828840',
    950: '#000000',
  },
}
SCSS
$custom: #828840;
$custom-light: #a8aa77;
$custom-dark: #000000;
JSON
{
  "hex": "#828840",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 65,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.096,
    "h": 113.2
  },
  "luminance": 0.22724
}

Semantic roles & 50–950 ramp

primary
#828840
secondary
#7B76AD
accent
#5CCC65
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #828840

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

Preview Lab → · Contrast checker → · Palette generator →

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