#827F21#827F21
#827F21 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.112 H 107.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #827F21 |
|---|---|
| RGB | rgb(130, 127, 33) |
| HSL | hsl(58, 60%, 32%) |
| HSV | hsv(58, 75%, 51%) |
| CMYK | cmyk(0%, 2.3%, 74.6%, 49%) |
| CIE-LAB | lab(51.88, -10.47, 48.36) |
| CIE-LCH | lch(51.88, 49.48, 102.22°) |
| OKLab | oklab(58.16% -0.0338 0.1068) |
| OKLCH | oklch(58.16% 0.112 107.6) |
| XYZ | xyz(17.0705, 20.0350, 4.4065) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.55
Shit Green
#758000
ΔE00 4.29
Poop Green
#6F7C00
ΔE00 5.19
Olive (survey)
#6E750E
ΔE00 5.51
Drab
#828344
ΔE00 5.55
Swamp Green
#748500
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827F21 #212482
analogous
#824F21 #827F21 #558221
triadic
#827F21 #21827F #7F2182
tetradic
#827F21 #21824F #212482 #822155
square
#827F21 #21824F #212482 #822155
split-complementary
#827F21 #215582 #4F2182
monochromatic
#202008 #514F15 #827F21 #B3AF2D #D2CD4C
Accessibility & contrast
On white
4.19
#827F21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#827F21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827F21
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827F21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827F21 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0F
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #827f21; /* rgb */ color: rgb(130, 127, 33); /* oklch */ color: oklch(58.2% 0.112 107.6);
Tailwind
colors: {
custom: {
50: '#a9a364',
500: '#827f21',
950: '#000000',
},
}SCSS
$custom: #827f21; $custom-light: #a9a364; $custom-dark: #000000;
JSON
{
"hex": "#827f21",
"rgb": {
"r": 130,
"g": 127,
"b": 33
},
"hsl": {
"h": 58.144,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.58155,
"c": 0.11206,
"h": 107.6
},
"luminance": 0.20034
}Semantic roles & 50–950 ramp
primary
#827F21
secondary
#4A4EB4
accent
#4AE345
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A