#827F1A#827F1A
#827F1A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.116 H 107.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #827F1A |
|---|---|
| RGB | rgb(130, 127, 26) |
| HSL | hsl(58, 67%, 31%) |
| HSV | hsv(58, 80%, 51%) |
| CMYK | cmyk(0%, 2.3%, 80%, 49%) |
| CIE-LAB | lab(51.84, -10.78, 50.79) |
| CIE-LCH | lch(51.84, 51.92, 101.99°) |
| OKLab | oklab(58.11% -0.0354 0.1106) |
| OKLCH | oklch(58.11% 0.116 107.7) |
| XYZ | xyz(16.9824, 19.9997, 3.9429) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.86
Shit Green
#758000
ΔE00 4.03
Poop Green
#6F7C00
ΔE00 5.04
Swamp Green
#748500
ΔE00 5.46
Olive (survey)
#6E750E
ΔE00 5.52
Ugly Brown
#7D7103
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827F1A #1A1D82
analogous
#824B1A #827F1A #51821A
triadic
#827F1A #1A827F #7F1A82
tetradic
#827F1A #1A824B #1A1D82 #821A51
square
#827F1A #1A824B #1A1D82 #821A51
split-complementary
#827F1A #1A5182 #4B1A82
monochromatic
#1C1B06 #4F4D10 #827F1A #B5B124 #D8D43E
Accessibility & contrast
On white
4.20
#827F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#827F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827F1A
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827F1A | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8C766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #827f1a; /* rgb */ color: rgb(130, 127, 26); /* oklch */ color: oklch(58.1% 0.116 107.7);
Tailwind
colors: {
custom: {
50: '#aaa360',
500: '#827f1a',
950: '#000000',
},
}SCSS
$custom: #827f1a; $custom-light: #aaa360; $custom-dark: #000000;
JSON
{
"hex": "#827f1a",
"rgb": {
"r": 130,
"g": 127,
"b": 26
},
"hsl": {
"h": 58.269,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.58111,
"c": 0.11613,
"h": 107.7
},
"luminance": 0.19999
}Semantic roles & 50–950 ramp
primary
#827F1A
secondary
#4245B6
accent
#43EA3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79