#7B862B#7B862B
#7B862B is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.115 H 115.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7B862B |
|---|---|
| RGB | rgb(123, 134, 43) |
| HSL | hsl(67, 51%, 35%) |
| HSV | hsv(67, 68%, 53%) |
| CMYK | cmyk(8.2%, 0%, 67.9%, 47.5%) |
| CIE-LAB | lab(53.42, -16.81, 45.67) |
| CIE-LCH | lch(53.42, 48.67, 110.21°) |
| OKLab | oklab(59.27% -0.0501 0.1032) |
| OKLCH | oklch(59.27% 0.115 115.9) |
| XYZ | xyz(17.1299, 21.4358, 5.5202) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.55
Khaki Green
#728639
ΔE00 3.79
Shit Green
#758000
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.90
Drab
#828344
ΔE00 5.00
Olive
#808000
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B862B #362B86
analogous
#86642B #7B862B #4D862B
triadic
#7B862B #2B7B86 #862B7B
tetradic
#7B862B #2B8664 #362B86 #862B4D
square
#7B862B #2B8664 #362B86 #862B4D
split-complementary
#7B862B #2B4D86 #642B86
monochromatic
#26290D #50581C #7B862B #A6B43A #BFCC60
Accessibility & contrast
On white
3.97
#7B862B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#7B862B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B862B
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B862B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B862B | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#837E74
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7b862b; /* rgb */ color: rgb(123, 134, 43); /* oklch */ color: oklch(59.3% 0.115 115.9);
Tailwind
colors: {
custom: {
50: '#a4a96a',
500: '#7b862b',
950: '#000000',
},
}SCSS
$custom: #7b862b; $custom-light: #a4a96a; $custom-dark: #000000;
JSON
{
"hex": "#7b862b",
"rgb": {
"r": 123,
"g": 134,
"b": 43
},
"hsl": {
"h": 67.253,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.5927,
"c": 0.11467,
"h": 115.9
},
"luminance": 0.21436
}Semantic roles & 50–950 ramp
primary
#7B862B
secondary
#655BB2
accent
#4DDB5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A