#827F1F#827F1F
#827F1F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.113 H 107.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #827F1F |
|---|---|
| RGB | rgb(130, 127, 31) |
| HSL | hsl(58, 61%, 32%) |
| HSV | hsv(58, 76%, 51%) |
| CMYK | cmyk(0%, 2.3%, 76.2%, 49%) |
| CIE-LAB | lab(51.86, -10.57, 49.09) |
| CIE-LCH | lch(51.86, 50.22, 102.15°) |
| OKLab | oklab(58.14% -0.0343 0.108) |
| OKLCH | oklch(58.14% 0.113 107.6) |
| XYZ | xyz(17.0433, 20.0241, 4.2633) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.34
Shit Green
#758000
ΔE00 4.20
Poop Green
#6F7C00
ΔE00 5.13
Olive (survey)
#6E750E
ΔE00 5.51
Swamp Green
#748500
ΔE00 5.58
Ugly Brown
#7D7103
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827F1F #1F2282
analogous
#824E1F #827F1F #54821F
triadic
#827F1F #1F827F #7F1F82
tetradic
#827F1F #1F824E #1F2282 #821F54
square
#827F1F #1F824E #1F2282 #821F54
split-complementary
#827F1F #1F5482 #4E1F82
monochromatic
#1F1E07 #514F13 #827F1F #B3AF2B #D3CF48
Accessibility & contrast
On white
4.20
#827F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#827F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827F1F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827F1F | 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)
#8A7A0B
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #827f1f; /* rgb */ color: rgb(130, 127, 31); /* oklch */ color: oklch(58.1% 0.113 107.6);
Tailwind
colors: {
custom: {
50: '#a9a363',
500: '#827f1f',
950: '#000000',
},
}SCSS
$custom: #827f1f; $custom-light: #a9a363; $custom-dark: #000000;
JSON
{
"hex": "#827f1f",
"rgb": {
"r": 130,
"g": 127,
"b": 31
},
"hsl": {
"h": 58.182,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.58141,
"c": 0.11331,
"h": 107.6
},
"luminance": 0.20023
}Semantic roles & 50–950 ramp
primary
#827F1F
secondary
#484BB5
accent
#48E543
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A