#828122#828122

#828122 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.114 H 108.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#828122
RGBrgb(130, 129, 34)
HSLhsl(59, 59%, 32%)
HSVhsv(59, 74%, 51%)
CMYKcmyk(0%, 0.8%, 73.8%, 49%)
CIE-LABlab(52.47, -11.51, 48.55)
CIE-LCHlch(52.47, 49.90, 103.34°)
OKLaboklab(58.63% -0.0366 0.1074)
OKLCHoklch(58.63% 0.114 108.8)
XYZxyz(17.3455, 20.5624, 4.5683)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828122 #222382
analogous
#825122 #828122 #538222
triadic
#828122 #228281 #812282
tetradic
#828122 #228251 #222382 #822253
square
#828122 #228251 #222382 #822253
split-complementary
#828122 #225382 #512282
monochromatic
#212109 #515115 #828122 #B3B12F #D1CF4E

Accessibility & contrast

On white

4.11
#828122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#828122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828122
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828122#FFFFFF#000000##000000
##8281221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#8C786F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #828122;
/* rgb */ color: rgb(130, 129, 34);
/* oklch */ color: oklch(58.6% 0.114 108.8);
Tailwind
colors: {
  custom: {
    50: '#a9a564',
    500: '#828122',
    950: '#000000',
  },
}
SCSS
$custom: #828122;
$custom-light: #a9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#828122",
  "rgb": {
    "r": 130,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 59.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.1135,
    "h": 108.8
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#828122
secondary
#4C4DB4
accent
#48E246
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828122

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

Preview Lab → · Contrast checker → · Palette generator →

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