#828221#828221

#828221 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.115 H 109.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#828221
RGBrgb(130, 130, 33)
HSLhsl(60, 60%, 32%)
HSVhsv(60, 75%, 51%)
CMYKcmyk(0%, 0%, 74.6%, 49%)
CIE-LABlab(52.75, -12.10, 49.20)
CIE-LCHlch(52.75, 50.67, 103.82°)
OKLaboklab(58.86% -0.0384 0.1086)
OKLCHoklch(58.86% 0.115 109.5)
XYZxyz(17.4637, 20.8214, 4.5376)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828221 #212182
analogous
#825221 #828221 #528221
triadic
#828221 #218282 #822182
tetradic
#828221 #218252 #212182 #822152
square
#828221 #218252 #212182 #822152
split-complementary
#828221 #215282 #522182
monochromatic
#202008 #515115 #828221 #B3B32D #D2D24C

Accessibility & contrast

On white

4.07
#828221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#828221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828221
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828221#FFFFFF#000000##000000
##8282211.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0E
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#8C796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #828221;
/* rgb */ color: rgb(130, 130, 33);
/* oklch */ color: oklch(58.9% 0.115 109.5);
Tailwind
colors: {
  custom: {
    50: '#a9a664',
    500: '#828221',
    950: '#000000',
  },
}
SCSS
$custom: #828221;
$custom-light: #a9a664;
$custom-dark: #000000;
JSON
{
  "hex": "#828221",
  "rgb": {
    "r": 130,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.11519,
    "h": 109.5
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#828221
secondary
#4A4AB4
accent
#45E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828221

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

Preview Lab → · Contrast checker → · Palette generator →

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