#7B812E#7B812E
#7B812E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.106 H 113.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7B812E |
|---|---|
| RGB | rgb(123, 129, 46) |
| HSL | hsl(64, 47%, 34%) |
| HSV | hsv(64, 64%, 51%) |
| CMYK | cmyk(4.7%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(51.96, -13.94, 42.81) |
| CIE-LCH | lch(51.96, 45.03, 108.03°) |
| OKLab | oklab(58.11% -0.0417 0.0976) |
| OKLCH | oklch(58.11% 0.106 113.2) |
| XYZ | xyz(16.5122, 20.1091, 5.5958) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.85
Shit Green
#758000
ΔE00 4.15
Khaki Green
#728639
ΔE00 4.42
Murky Green
#6C7A0E
ΔE00 4.61
Poop Green
#6F7C00
ΔE00 4.62
Swamp Green
#748500
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B812E #342E81
analogous
#815E2E #7B812E #52812E
triadic
#7B812E #2E7B81 #812E7B
tetradic
#7B812E #2E815E #342E81 #812E52
square
#7B812E #2E815E #342E81 #812E52
split-complementary
#7B812E #2E5281 #5E2E81
monochromatic
#25270E #50541E #7B812E #A6AE3E #C0C762
Accessibility & contrast
On white
4.18
#7B812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#7B812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B812E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B812E | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#837970
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7b812e; /* rgb */ color: rgb(123, 129, 46); /* oklch */ color: oklch(58.1% 0.106 113.2);
Tailwind
colors: {
custom: {
50: '#a3a56b',
500: '#7b812e',
950: '#000000',
},
}SCSS
$custom: #7b812e; $custom-light: #a3a56b; $custom-dark: #000000;
JSON
{
"hex": "#7b812e",
"rgb": {
"r": 123,
"g": 129,
"b": 46
},
"hsl": {
"h": 64.337,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.58106,
"c": 0.10614,
"h": 113.2
},
"luminance": 0.20109
}Semantic roles & 50–950 ramp
primary
#7B812E
secondary
#635DAE
accent
#51D75A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A