#7A891C#7A891C
#7A891C is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.128 H 117.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7A891C |
|---|---|
| RGB | rgb(122, 137, 28) |
| HSL | hsl(68, 66%, 32%) |
| HSV | hsv(68, 80%, 54%) |
| CMYK | cmyk(10.9%, 0%, 79.6%, 46.3%) |
| CIE-LAB | lab(54.15, -19.64, 51.99) |
| CIE-LCH | lch(54.15, 55.58, 110.70°) |
| OKLab | oklab(59.8% -0.0593 0.1139) |
| OKLCH | oklch(59.8% 0.128 117.5) |
| XYZ | xyz(17.1817, 22.1129, 4.4615) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.18
Dark Yellow Green
#728F02
ΔE00 3.46
Shit Green
#758000
ΔE00 3.60
Olivedrab
#6B8E23
ΔE00 4.81
Poop Green
#6F7C00
ΔE00 4.97
Olive
#808000
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A891C #2B1C89
analogous
#89621C #7A891C #43891C
triadic
#7A891C #1C7A89 #891C7A
tetradic
#7A891C #1C8962 #2B1C89 #891C43
square
#7A891C #1C8962 #2B1C89 #891C43
split-complementary
#7A891C #1C4389 #621C89
monochromatic
#1F2307 #4D5612 #7A891C #A7BC26 #C5D946
Accessibility & contrast
On white
3.87
#7A891C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#7A891C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A891C
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A891C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A891C | 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: #7a891c; /* rgb */ color: rgb(122, 137, 28); /* oklch */ color: oklch(59.8% 0.128 117.5);
Tailwind
colors: {
custom: {
50: '#a4ab62',
500: '#7a891c',
950: '#000000',
},
}SCSS
$custom: #7a891c; $custom-light: #a4ab62; $custom-dark: #000000;
JSON
{
"hex": "#7a891c",
"rgb": {
"r": 122,
"g": 137,
"b": 28
},
"hsl": {
"h": 68.257,
"s": 66.061,
"l": 32.353
},
"oklch": {
"l": 0.598,
"c": 0.12839,
"h": 117.5
},
"luminance": 0.22113
}Semantic roles & 50–950 ramp
primary
#7A891C
secondary
#5646BB
accent
#3FE956
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A