#7B861E#7B861E
#7B861E is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.123 H 115.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7B861E |
|---|---|
| RGB | rgb(123, 134, 30) |
| HSL | hsl(66, 63%, 32%) |
| HSV | hsv(66, 78%, 53%) |
| CMYK | cmyk(8.2%, 0%, 77.6%, 47.5%) |
| CIE-LAB | lab(53.34, -17.55, 50.61) |
| CIE-LCH | lch(53.34, 53.57, 109.12°) |
| OKLab | oklab(59.17% -0.0534 0.1113) |
| OKLCH | oklch(59.17% 0.123 115.6) |
| XYZ | xyz(16.9283, 21.3552, 4.4582) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.25
Shit Green
#758000
ΔE00 2.81
Olive
#808000
ΔE00 4.12
Poop Green
#6F7C00
ΔE00 4.20
Dark Yellow Green
#728F02
ΔE00 4.71
Murky Green
#6C7A0E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B861E #291E86
analogous
#865D1E #7B861E #47861E
triadic
#7B861E #1E7B86 #861E7B
tetradic
#7B861E #1E865D #291E86 #861E47
square
#7B861E #1E865D #291E86 #861E47
split-complementary
#7B861E #1E4786 #5D1E86
monochromatic
#1F2208 #4D5413 #7B861E #A9B829 #C7D648
Accessibility & contrast
On white
3.98
#7B861E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#7B861E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B861E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B861E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B861E | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#837E72
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7b861e; /* rgb */ color: rgb(123, 134, 30); /* oklch */ color: oklch(59.2% 0.123 115.6);
Tailwind
colors: {
custom: {
50: '#a4a963',
500: '#7b861e',
950: '#000000',
},
}SCSS
$custom: #7b861e; $custom-light: #a4a963; $custom-dark: #000000;
JSON
{
"hex": "#7b861e",
"rgb": {
"r": 123,
"g": 134,
"b": 30
},
"hsl": {
"h": 66.346,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.59172,
"c": 0.12343,
"h": 115.6
},
"luminance": 0.21355
}Semantic roles & 50–950 ramp
primary
#7B861E
secondary
#5347B8
accent
#41E653
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A