#7B891E#7B891E
#7B891E is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.127 H 117.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7B891E |
|---|---|
| RGB | rgb(123, 137, 30) |
| HSL | hsl(68, 64%, 33%) |
| HSV | hsv(68, 78%, 54%) |
| CMYK | cmyk(10.2%, 0%, 78.1%, 46.3%) |
| CIE-LAB | lab(54.23, -19.11, 51.45) |
| CIE-LCH | lch(54.23, 54.88, 110.38°) |
| OKLab | oklab(59.89% -0.0577 0.113) |
| OKLCH | oklch(59.89% 0.127 117.1) |
| XYZ | xyz(17.3488, 22.1962, 4.5984) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.37
Shit Green
#758000
ΔE00 3.65
Dark Yellow Green
#728F02
ΔE00 3.69
Olivedrab
#6B8E23
ΔE00 4.98
Olive
#808000
ΔE00 5.02
Poop Green
#6F7C00
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B891E #2C1E89
analogous
#89611E #7B891E #46891E
triadic
#7B891E #1E7B89 #891E7B
tetradic
#7B891E #1E8961 #2C1E89 #891E46
square
#7B891E #1E8961 #2C1E89 #891E46
split-complementary
#7B891E #1E4689 #611E89
monochromatic
#212508 #4E5713 #7B891E #A8BB29 #C5D74A
Accessibility & contrast
On white
3.86
#7B891E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#7B891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B891E
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B891E | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938103
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#838175
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7b891e; /* rgb */ color: rgb(123, 137, 30); /* oklch */ color: oklch(59.9% 0.127 117.1);
Tailwind
colors: {
custom: {
50: '#a4ab63',
500: '#7b891e',
950: '#000000',
},
}SCSS
$custom: #7b891e; $custom-light: #a4ab63; $custom-dark: #000000;
JSON
{
"hex": "#7b891e",
"rgb": {
"r": 123,
"g": 137,
"b": 30
},
"hsl": {
"h": 67.85,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.59894,
"c": 0.12693,
"h": 117.1
},
"luminance": 0.22196
}Semantic roles & 50–950 ramp
primary
#7B891E
secondary
#5849BA
accent
#41E756
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A