#7B841E#7B841E
#7B841E is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.121 H 114.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7B841E |
|---|---|
| RGB | rgb(123, 132, 30) |
| HSL | hsl(65, 63%, 32%) |
| HSV | hsv(65, 77%, 52%) |
| CMYK | cmyk(6.8%, 0%, 77.3%, 48.2%) |
| CIE-LAB | lab(52.74, -16.49, 50.05) |
| CIE-LCH | lch(52.74, 52.70, 108.24°) |
| OKLab | oklab(58.69% -0.0505 0.1101) |
| OKLCH | oklch(58.69% 0.121 114.6) |
| XYZ | xyz(16.6545, 20.8075, 4.3670) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.42
Swamp Green
#748500
ΔE00 2.52
Olive
#808000
ΔE00 3.59
Poop Green
#6F7C00
ΔE00 3.74
Murky Green
#6C7A0E
ΔE00 4.45
Olive Green
#677A04
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B841E #271E84
analogous
#845A1E #7B841E #48841E
triadic
#7B841E #1E7B84 #841E7B
tetradic
#7B841E #1E845A #271E84 #841E48
square
#7B841E #1E845A #271E84 #841E48
split-complementary
#7B841E #1E4884 #5A1E84
monochromatic
#1E2007 #4D5213 #7B841E #A9B629 #C9D547
Accessibility & contrast
On white
4.07
#7B841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#7B841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B841E
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B841E | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#837C71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7b841e; /* rgb */ color: rgb(123, 132, 30); /* oklch */ color: oklch(58.7% 0.121 114.6);
Tailwind
colors: {
custom: {
50: '#a4a763',
500: '#7b841e',
950: '#000000',
},
}SCSS
$custom: #7b841e; $custom-light: #a4a763; $custom-dark: #000000;
JSON
{
"hex": "#7b841e",
"rgb": {
"r": 123,
"g": 132,
"b": 30
},
"hsl": {
"h": 65.294,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.58692,
"c": 0.12113,
"h": 114.6
},
"luminance": 0.20807
}Semantic roles & 50–950 ramp
primary
#7B841E
secondary
#5147B7
accent
#42E650
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A