#7A891B#7A891B
#7A891B 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 | #7A891B |
|---|---|
| RGB | rgb(122, 137, 27) |
| HSL | hsl(68, 67%, 32%) |
| HSV | hsv(68, 80%, 54%) |
| CMYK | cmyk(10.9%, 0%, 80.3%, 46.3%) |
| CIE-LAB | lab(54.14, -19.69, 52.30) |
| CIE-LCH | lch(54.14, 55.89, 110.62°) |
| OKLab | oklab(59.8% -0.0595 0.1144) |
| OKLCH | oklch(59.8% 0.129 117.5) |
| XYZ | xyz(17.1700, 22.1082, 4.3995) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.12
Dark Yellow Green
#728F02
ΔE00 3.43
Shit Green
#758000
ΔE00 3.56
Olivedrab
#6B8E23
ΔE00 4.85
Poop Green
#6F7C00
ΔE00 4.95
Olive
#808000
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A891B #2A1B89
analogous
#89611B #7A891B #43891B
triadic
#7A891B #1B7A89 #891B7A
tetradic
#7A891B #1B8961 #2A1B89 #891B43
square
#7A891B #1B8961 #2A1B89 #891B43
split-complementary
#7A891B #1B4389 #611B89
monochromatic
#1F2307 #4C5611 #7A891B #A8BC25 #C6DA44
Accessibility & contrast
On white
3.87
#7A891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#7A891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A891B
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A891B | 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)
#918226
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7a891b; /* rgb */ color: rgb(122, 137, 27); /* oklch */ color: oklch(59.8% 0.129 117.5);
Tailwind
colors: {
custom: {
50: '#a4ab62',
500: '#7a891b',
950: '#000000',
},
}SCSS
$custom: #7a891b; $custom-light: #a4ab62; $custom-dark: #000000;
JSON
{
"hex": "#7a891b",
"rgb": {
"r": 122,
"g": 137,
"b": 27
},
"hsl": {
"h": 68.182,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.59795,
"c": 0.12891,
"h": 117.5
},
"luminance": 0.22108
}Semantic roles & 50–950 ramp
primary
#7A891B
secondary
#5544BC
accent
#3EEA55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A