#828722#828722
#828722 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.120 H 112.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #828722 |
|---|---|
| RGB | rgb(130, 135, 34) |
| HSL | hsl(63, 60%, 33%) |
| HSV | hsv(63, 75%, 53%) |
| CMYK | cmyk(3.7%, 0%, 74.8%, 47.1%) |
| CIE-LAB | lab(54.23, -14.73, 50.24) |
| CIE-LCH | lch(54.23, 52.35, 106.34°) |
| OKLab | oklab(60.04% -0.0456 0.111) |
| OKLCH | oklch(60.04% 0.12 112.4) |
| XYZ | xyz(18.1592, 22.1897, 4.8395) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.49
Swamp Green
#748500
ΔE00 3.71
Shit Green
#758000
ΔE00 3.78
Poop Green
#6F7C00
ΔE00 5.35
Baby Shit Green
#889717
ΔE00 5.77
Drab
#828344
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#828722 #272287
analogous
#875922 #828722 #4F8722
triadic
#828722 #228287 #872282
tetradic
#828722 #228759 #272287 #87224F
square
#828722 #228759 #272287 #87224F
split-complementary
#828722 #224F87 #592287
monochromatic
#242509 #535616 #828722 #B1B82E #CDD350
Accessibility & contrast
On white
3.86
#828722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#828722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #828722
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##828722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##828722 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92800E
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#8B7E74
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #828722; /* rgb */ color: rgb(130, 135, 34); /* oklch */ color: oklch(60.0% 0.120 112.4);
Tailwind
colors: {
custom: {
50: '#a9a965',
500: '#828722',
950: '#000000',
},
}SCSS
$custom: #828722; $custom-light: #a9a965; $custom-dark: #000000;
JSON
{
"hex": "#828722",
"rgb": {
"r": 130,
"g": 135,
"b": 34
},
"hsl": {
"h": 62.97,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.60036,
"c": 0.12,
"h": 112.4
},
"luminance": 0.22189
}Semantic roles & 50–950 ramp
primary
#828722
secondary
#534EB7
accent
#45E34D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A