#828B2A#828B2A

#828B2A is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.119 H 114.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#828B2A
RGBrgb(130, 139, 42)
HSLhsl(66, 54%, 35%)
HSVhsv(66, 70%, 55%)
CMYKcmyk(6.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(55.46, -16.40, 48.35)
CIE-LCHlch(55.46, 51.06, 108.74°)
OKLaboklab(61.04% -0.0495 0.1084)
OKLCHoklch(61.04% 0.119 114.5)
XYZxyz(18.8570, 23.3786, 5.7092)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B2A #332A8B
analogous
#8B632A #828B2A #518B2A
triadic
#828B2A #2A828B #8B2A82
tetradic
#828B2A #2A8B63 #332A8B #8B2A51
square
#828B2A #2A8B63 #332A8B #8B2A51
split-complementary
#828B2A #2A518B #632A8B
monochromatic
#2A2D0E #565C1C #828B2A #AEBA38 #C5CF60

Accessibility & contrast

On white

3.70
#828B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#828B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B2A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B2A#FFFFFF#000000##000000
##828B2A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#8B8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b2a;
/* rgb */ color: rgb(130, 139, 42);
/* oklch */ color: oklch(61.0% 0.119 114.5);
Tailwind
colors: {
  custom: {
    50: '#a9ac6a',
    500: '#828b2a',
    950: '#000000',
  },
}
SCSS
$custom: #828b2a;
$custom-light: #a9ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#828b2a",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 65.567,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.11919,
    "h": 114.5
  },
  "luminance": 0.23378
}

Semantic roles & 50–950 ramp

primary
#828B2A
secondary
#645CB5
accent
#4BDD58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828B2A

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

Preview Lab → · Contrast checker → · Palette generator →

#828B2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva