#7B842E#7B842E
#7B842E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.110 H 114.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7B842E |
|---|---|
| RGB | rgb(123, 132, 46) |
| HSL | hsl(66, 48%, 35%) |
| HSV | hsv(66, 65%, 52%) |
| CMYK | cmyk(6.8%, 0%, 65.2%, 48.2%) |
| CIE-LAB | lab(52.85, -15.54, 43.76) |
| CIE-LCH | lch(52.85, 46.44, 109.55°) |
| OKLab | oklab(58.82% -0.0462 0.0996) |
| OKLCH | oklch(58.82% 0.11 114.9) |
| XYZ | xyz(16.9132, 20.9110, 5.7295) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.73
Shit Green
#758000
ΔE00 4.13
Swamp Green
#748500
ΔE00 4.15
Drab
#828344
ΔE00 4.26
Poop Green
#6F7C00
ΔE00 4.84
Murky Green
#6C7A0E
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B842E #372E84
analogous
#84622E #7B842E #50842E
triadic
#7B842E #2E7B84 #842E7B
tetradic
#7B842E #2E8462 #372E84 #842E50
square
#7B842E #2E8462 #372E84 #842E50
split-complementary
#7B842E #2E5084 #622E84
monochromatic
#26290E #51571E #7B842E #A5B13E #BEC964
Accessibility & contrast
On white
4.05
#7B842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#7B842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B842E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B842E | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#837C72
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7b842e; /* rgb */ color: rgb(123, 132, 46); /* oklch */ color: oklch(58.8% 0.110 114.9);
Tailwind
colors: {
custom: {
50: '#a4a76b',
500: '#7b842e',
950: '#000000',
},
}SCSS
$custom: #7b842e; $custom-light: #a4a76b; $custom-dark: #000000;
JSON
{
"hex": "#7b842e",
"rgb": {
"r": 123,
"g": 132,
"b": 46
},
"hsl": {
"h": 66.279,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.5882,
"c": 0.10981,
"h": 114.9
},
"luminance": 0.20911
}Semantic roles & 50–950 ramp
primary
#7B842E
secondary
#675EB0
accent
#50D85E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A