#827E1F#827E1F
#827E1F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.112 H 107.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #827E1F |
|---|---|
| RGB | rgb(130, 126, 31) |
| HSL | hsl(58, 61%, 32%) |
| HSV | hsv(58, 76%, 51%) |
| CMYK | cmyk(0%, 3.1%, 76.2%, 49%) |
| CIE-LAB | lab(51.57, -10.02, 48.82) |
| CIE-LCH | lch(51.57, 49.84, 101.60°) |
| OKLab | oklab(57.91% -0.0328 0.1074) |
| OKLCH | oklch(57.91% 0.112 107) |
| XYZ | xyz(16.9148, 19.7671, 4.2205) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.54
Shit Green
#758000
ΔE00 4.46
Poop Green
#6F7C00
ΔE00 5.28
Ugly Brown
#7D7103
ΔE00 5.34
Olive (survey)
#6E750E
ΔE00 5.42
Drab
#828344
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827E1F #1F2382
analogous
#824D1F #827E1F #55821F
triadic
#827E1F #1F827E #7E1F82
tetradic
#827E1F #1F824D #1F2382 #821F55
square
#827E1F #1F824D #1F2382 #821F55
split-complementary
#827E1F #1F5582 #4D1F82
monochromatic
#1F1E07 #514E13 #827E1F #B3AE2B #D3CE48
Accessibility & contrast
On white
4.24
#827E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#827E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827E1F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827E1F | 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)
#89790B
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #827e1f; /* rgb */ color: rgb(130, 126, 31); /* oklch */ color: oklch(57.9% 0.112 107.0);
Tailwind
colors: {
custom: {
50: '#a9a363',
500: '#827e1f',
950: '#000000',
},
}SCSS
$custom: #827e1f; $custom-light: #a9a363; $custom-dark: #000000;
JSON
{
"hex": "#827e1f",
"rgb": {
"r": 130,
"g": 126,
"b": 31
},
"hsl": {
"h": 57.576,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.57909,
"c": 0.11229,
"h": 107
},
"luminance": 0.19766
}Semantic roles & 50–950 ramp
primary
#827E1F
secondary
#484CB5
accent
#4AE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A