#7A892C#7A892C
#7A892C is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.118 H 118.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7A892C |
|---|---|
| RGB | rgb(122, 137, 44) |
| HSL | hsl(70, 51%, 35%) |
| HSV | hsv(70, 68%, 54%) |
| CMYK | cmyk(10.9%, 0%, 67.9%, 46.3%) |
| CIE-LAB | lab(54.25, -18.75, 46.08) |
| CIE-LCH | lch(54.25, 49.75, 112.14°) |
| OKLab | oklab(59.92% -0.0553 0.1042) |
| OKLCH | oklch(59.92% 0.118 118) |
| XYZ | xyz(17.4267, 22.2109, 5.7515) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.45
Swamp Green
#748500
ΔE00 3.68
Olivedrab
#6B8E23
ΔE00 4.43
Dark Yellow Green
#728F02
ΔE00 4.43
Shit Green
#758000
ΔE00 4.70
Camo
#7F8F4E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A892C #3B2C89
analogous
#89692C #7A892C #4C892C
triadic
#7A892C #2C7A89 #892C7A
tetradic
#7A892C #2C8969 #3B2C89 #892C4C
square
#7A892C #2C8969 #3B2C89 #892C4C
split-complementary
#7A892C #2C4C89 #692C89
monochromatic
#272C0E #515B1D #7A892C #A3B73B #BCCD63
Accessibility & contrast
On white
3.86
#7A892C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#7A892C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A892C
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A892C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A892C | 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)
#92821F
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#818176
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7a892c; /* rgb */ color: rgb(122, 137, 44); /* oklch */ color: oklch(59.9% 0.118 118.0);
Tailwind
colors: {
custom: {
50: '#a3ab6b',
500: '#7a892c',
950: '#000000',
},
}SCSS
$custom: #7a892c; $custom-light: #a3ab6b; $custom-dark: #000000;
JSON
{
"hex": "#7a892c",
"rgb": {
"r": 122,
"g": 137,
"b": 44
},
"hsl": {
"h": 69.677,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.59916,
"c": 0.11798,
"h": 118
},
"luminance": 0.22211
}Semantic roles & 50–950 ramp
primary
#7A892C
secondary
#6C5EB3
accent
#4DDB64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A