#828340#828340

#828340 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.090 H 109.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#828340
RGBrgb(130, 131, 64)
HSLhsl(61, 34%, 38%)
HSVhsv(61, 51%, 51%)
CMYKcmyk(0.8%, 0%, 51.1%, 48.6%)
CIE-LABlab(53.33, -10.39, 35.73)
CIE-LCHlch(53.33, 37.21, 106.21°)
OKLaboklab(59.41% -0.0301 0.0845)
OKLCHoklch(59.41% 0.09 109.6)
XYZxyz(18.2480, 21.3490, 8.0090)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828340 #414083
analogous
#836240 #828340 #608340
triadic
#828340 #408283 #834082
tetradic
#828340 #408362 #414083 #834060
square
#828340 #408362 #414083 #834060
split-complementary
#828340 #406083 #624083
monochromatic
#303118 #595A2C #828340 #AAAC54 #BFC07E

Accessibility & contrast

On white

3.98
#828340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#828340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828340
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828340#FFFFFF#000000##000000
##8283401.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#8D8043
Tritanopia (blue-blind)
#8A7C74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #828340;
/* rgb */ color: rgb(130, 131, 64);
/* oklch */ color: oklch(59.4% 0.090 109.6);
Tailwind
colors: {
  custom: {
    50: '#a8a677',
    500: '#828340',
    950: '#000000',
  },
}
SCSS
$custom: #828340;
$custom-light: #a8a677;
$custom-dark: #000000;
JSON
{
  "hex": "#828340",
  "rgb": {
    "r": 130,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 60.896,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.08969,
    "h": 109.6
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#828340
secondary
#7575AA
accent
#5DCA5F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #828340

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

Preview Lab → · Contrast checker → · Palette generator →

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