#7A882E#7A882E
#7A882E is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.115 H 117.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7A882E |
|---|---|
| RGB | rgb(122, 136, 46) |
| HSL | hsl(69, 49%, 36%) |
| HSV | hsv(69, 66%, 53%) |
| CMYK | cmyk(10.3%, 0%, 66.2%, 46.7%) |
| CIE-LAB | lab(53.97, -18.09, 44.92) |
| CIE-LCH | lch(53.97, 48.43, 111.94°) |
| OKLab | oklab(59.69% -0.0533 0.1021) |
| OKLCH | oklch(59.69% 0.115 117.6) |
| XYZ | xyz(17.3237, 21.9433, 5.9071) |
| Luminance | 0.2194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.17
Swamp Green
#748500
ΔE00 3.89
Shit Green
#758000
ΔE00 4.70
Olivedrab
#6B8E23
ΔE00 4.74
Dark Yellow Green
#728F02
ΔE00 4.90
Drab
#828344
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A882E #3C2E88
analogous
#88692E #7A882E #4D882E
triadic
#7A882E #2E7A88 #882E7A
tetradic
#7A882E #2E8869 #3C2E88 #882E4D
square
#7A882E #2E8869 #3C2E88 #882E4D
split-complementary
#7A882E #2E4D88 #692E88
monochromatic
#282D0F #515A1F #7A882E #A3B63D #BBCB65
Accessibility & contrast
On white
3.90
#7A882E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#7A882E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A882E
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A882E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A882E | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7a882e; /* rgb */ color: rgb(122, 136, 46); /* oklch */ color: oklch(59.7% 0.115 117.6);
Tailwind
colors: {
custom: {
50: '#a3aa6c',
500: '#7a882e',
950: '#000000',
},
}SCSS
$custom: #7a882e; $custom-light: #a3aa6c; $custom-dark: #000000;
JSON
{
"hex": "#7a882e",
"rgb": {
"r": 122,
"g": 136,
"b": 46
},
"hsl": {
"h": 69.333,
"s": 49.451,
"l": 35.686
},
"oklch": {
"l": 0.59694,
"c": 0.11514,
"h": 117.6
},
"luminance": 0.21943
}Semantic roles & 50–950 ramp
primary
#7A882E
secondary
#6D60B2
accent
#4FD964
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A