#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 |
|---|---|
| RGB | rgb(130, 129, 34) |
| HSL | hsl(59, 59%, 32%) |
| HSV | hsv(59, 74%, 51%) |
| CMYK | cmyk(0%, 0.8%, 73.8%, 49%) |
| CIE-LAB | lab(52.47, -11.51, 48.55) |
| CIE-LCH | lch(52.47, 49.90, 103.34°) |
| OKLab | oklab(58.63% -0.0366 0.1074) |
| OKLCH | oklch(58.63% 0.114 108.8) |
| XYZ | xyz(17.3455, 20.5624, 4.5683) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.49
Shit Green
#758000
ΔE00 3.92
Swamp Green
#748500
ΔE00 5.03
Poop Green
#6F7C00
ΔE00 5.03
Drab
#828344
ΔE00 5.36
Murky Green
#6C7A0E
ΔE00 5.68
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 |
|---|---|---|---|---|
| ##828122 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.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