#7A891A#7A891A
#7A891A is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.129 H 117.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7A891A |
|---|---|
| RGB | rgb(122, 137, 26) |
| HSL | hsl(68, 68%, 32%) |
| HSV | hsv(68, 81%, 54%) |
| CMYK | cmyk(10.9%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(54.14, -19.73, 52.61) |
| CIE-LCH | lch(54.14, 56.19, 110.56°) |
| OKLab | oklab(59.79% -0.0597 0.1148) |
| OKLCH | oklch(59.79% 0.129 117.5) |
| XYZ | xyz(17.1586, 22.1037, 4.3396) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.07
Dark Yellow Green
#728F02
ΔE00 3.41
Shit Green
#758000
ΔE00 3.52
Olivedrab
#6B8E23
ΔE00 4.89
Poop Green
#6F7C00
ΔE00 4.93
Olive
#808000
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A891A #291A89
analogous
#89611A #7A891A #43891A
triadic
#7A891A #1A7A89 #891A7A
tetradic
#7A891A #1A8961 #291A89 #891A43
square
#7A891A #1A8961 #291A89 #891A43
split-complementary
#7A891A #1A4389 #611A89
monochromatic
#1E2206 #4C5610 #7A891A #A8BC24 #C7DB42
Accessibility & contrast
On white
3.87
#7A891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#7A891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A891A
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A891A | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7a891a; /* rgb */ color: rgb(122, 137, 26); /* oklch */ color: oklch(59.8% 0.129 117.5);
Tailwind
colors: {
custom: {
50: '#a4ab62',
500: '#7a891a',
950: '#000000',
},
}SCSS
$custom: #7a891a; $custom-light: #a4ab62; $custom-dark: #000000;
JSON
{
"hex": "#7a891a",
"rgb": {
"r": 122,
"g": 137,
"b": 26
},
"hsl": {
"h": 68.108,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.59789,
"c": 0.12942,
"h": 117.5
},
"luminance": 0.22103
}Semantic roles & 50–950 ramp
primary
#7A891A
secondary
#5343BC
accent
#3DEB54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A