#828121#828121

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

Color values

HEX#828121
RGBrgb(130, 129, 33)
HSLhsl(59, 60%, 32%)
HSVhsv(59, 75%, 51%)
CMYKcmyk(0%, 0.8%, 74.6%, 49%)
CIE-LABlab(52.46, -11.56, 48.92)
CIE-LCHlch(52.46, 50.27, 103.29°)
OKLaboklab(58.62% -0.0369 0.108)
OKLCHoklch(58.62% 0.114 108.9)
XYZxyz(17.3313, 20.5567, 4.4934)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828121 #212282
analogous
#825021 #828121 #538221
triadic
#828121 #218281 #812182
tetradic
#828121 #218250 #212282 #822153
square
#828121 #218250 #212282 #822153
split-complementary
#828121 #215382 #502182
monochromatic
#202008 #515115 #828121 #B3B12D #D2D04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828121#FFFFFF#000000##000000
##8281211.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)
#8C7B0E
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#8C786F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #828121;
/* rgb */ color: rgb(130, 129, 33);
/* oklch */ color: oklch(58.6% 0.114 108.9);
Tailwind
colors: {
  custom: {
    50: '#a9a564',
    500: '#828121',
    950: '#000000',
  },
}
SCSS
$custom: #828121;
$custom-light: #a9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#828121",
  "rgb": {
    "r": 130,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 59.381,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.11413,
    "h": 108.9
  },
  "luminance": 0.20556
}

Semantic roles & 50–950 ramp

primary
#828121
secondary
#4A4BB4
accent
#47E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828121

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

Preview Lab → · Contrast checker → · Palette generator →

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