#7E861F#7E861F
#7E861F is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.122 H 114.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E861F |
|---|---|
| RGB | rgb(126, 134, 31) |
| HSL | hsl(65, 62%, 32%) |
| HSV | hsv(65, 77%, 53%) |
| CMYK | cmyk(6%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(53.58, -16.15, 50.58) |
| CIE-LCH | lch(53.58, 53.10, 107.71°) |
| OKLab | oklab(59.43% -0.0496 0.1113) |
| OKLCH | oklch(59.43% 0.122 114) |
| XYZ | xyz(17.3771, 21.5851, 4.5470) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.82
Shit Green
#758000
ΔE00 3.01
Olive
#808000
ΔE00 3.58
Poop Green
#6F7C00
ΔE00 4.53
Dark Yellow Green
#728F02
ΔE00 5.29
Murky Green
#6C7A0E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E861F #271F86
analogous
#865A1F #7E861F #4B861F
triadic
#7E861F #1F7E86 #861F7E
tetradic
#7E861F #1F865A #271F86 #861F4B
square
#7E861F #1F865A #271F86 #861F4B
split-complementary
#7E861F #1F4B86 #5A1F86
monochromatic
#212308 #4F5414 #7E861F #ADB82A #CAD54A
Accessibility & contrast
On white
3.95
#7E861F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7E861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E861F
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E861F | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F07
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#877E73
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e861f; /* rgb */ color: rgb(126, 134, 31); /* oklch */ color: oklch(59.4% 0.122 114.0);
Tailwind
colors: {
custom: {
50: '#a7a963',
500: '#7e861f',
950: '#000000',
},
}SCSS
$custom: #7e861f; $custom-light: #a7a963; $custom-dark: #000000;
JSON
{
"hex": "#7e861f",
"rgb": {
"r": 126,
"g": 134,
"b": 31
},
"hsl": {
"h": 64.66,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.59433,
"c": 0.12187,
"h": 114
},
"luminance": 0.21585
}Semantic roles & 50–950 ramp
primary
#7E861F
secondary
#5249B8
accent
#42E54F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A