#7B891A#7B891A
#7B891A is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.129 H 117.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7B891A |
|---|---|
| RGB | rgb(123, 137, 26) |
| HSL | hsl(68, 68%, 32%) |
| HSV | hsv(68, 81%, 54%) |
| CMYK | cmyk(10.2%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(54.21, -19.28, 52.71) |
| CIE-LCH | lch(54.21, 56.12, 110.09°) |
| OKLab | oklab(59.87% -0.0585 0.115) |
| OKLCH | oklch(59.87% 0.129 117) |
| XYZ | xyz(17.3009, 22.1771, 4.3463) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.14
Shit Green
#758000
ΔE00 3.49
Dark Yellow Green
#728F02
ΔE00 3.59
Olive
#808000
ΔE00 4.85
Poop Green
#6F7C00
ΔE00 4.97
Baby Shit Green
#889717
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B891A #281A89
analogous
#89601A #7B891A #43891A
triadic
#7B891A #1A7B89 #891A7B
tetradic
#7B891A #1A8960 #281A89 #891A43
square
#7B891A #1A8960 #281A89 #891A43
split-complementary
#7B891A #1A4389 #601A89
monochromatic
#1F2206 #4D5610 #7B891A #A9BC24 #C8DB42
Accessibility & contrast
On white
3.86
#7B891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#7B891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B891A
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B891A | 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)
#938100
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#838175
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7b891a; /* rgb */ color: rgb(123, 137, 26); /* oklch */ color: oklch(59.9% 0.129 117.0);
Tailwind
colors: {
custom: {
50: '#a5ab62',
500: '#7b891a',
950: '#000000',
},
}SCSS
$custom: #7b891a; $custom-light: #a5ab62; $custom-dark: #000000;
JSON
{
"hex": "#7b891a",
"rgb": {
"r": 123,
"g": 137,
"b": 26
},
"hsl": {
"h": 67.568,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.59871,
"c": 0.12904,
"h": 117
},
"luminance": 0.22177
}Semantic roles & 50–950 ramp
primary
#7B891A
secondary
#5243BC
accent
#3DEB53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A