#827E1B#827E1B
#827E1B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.115 H 107.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #827E1B |
|---|---|
| RGB | rgb(130, 126, 27) |
| HSL | hsl(58, 66%, 31%) |
| HSV | hsv(58, 79%, 51%) |
| CMYK | cmyk(0%, 3.1%, 79.2%, 49%) |
| CIE-LAB | lab(51.55, -10.20, 50.20) |
| CIE-LCH | lch(51.55, 51.23, 101.48°) |
| OKLab | oklab(57.88% -0.0336 0.1096) |
| OKLCH | oklch(57.88% 0.115 107.1) |
| XYZ | xyz(16.8653, 19.7473, 3.9599) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.17
Shit Green
#758000
ΔE00 4.33
Poop Green
#6F7C00
ΔE00 5.20
Ugly Brown
#7D7103
ΔE00 5.24
Olive (survey)
#6E750E
ΔE00 5.43
Swamp Green
#748500
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827E1B #1B1F82
analogous
#824A1B #827E1B #52821B
triadic
#827E1B #1B827E #7E1B82
tetradic
#827E1B #1B824A #1B1F82 #821B52
square
#827E1B #1B824A #1B1F82 #821B52
split-complementary
#827E1B #1B5282 #4A1B82
monochromatic
#1D1C06 #4F4D10 #827E1B #B5AF26 #D7D140
Accessibility & contrast
On white
4.24
#827E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#827E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827E1B
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827E1B | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #827e1b; /* rgb */ color: rgb(130, 126, 27); /* oklch */ color: oklch(57.9% 0.115 107.1);
Tailwind
colors: {
custom: {
50: '#aaa361',
500: '#827e1b',
950: '#000000',
},
}SCSS
$custom: #827e1b; $custom-light: #aaa361; $custom-dark: #000000;
JSON
{
"hex": "#827e1b",
"rgb": {
"r": 130,
"g": 126,
"b": 27
},
"hsl": {
"h": 57.67,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.57884,
"c": 0.1146,
"h": 107.1
},
"luminance": 0.19747
}Semantic roles & 50–950 ramp
primary
#827E1B
secondary
#4348B6
accent
#46E93F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A