#2A761F#2A761F
#2A761F is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.142 H 141.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A761F |
|---|---|
| RGB | rgb(42, 118, 31) |
| HSL | hsl(112, 58%, 29%) |
| HSV | hsv(112, 74%, 46%) |
| CMYK | cmyk(64.4%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.58, -40.63, 39.09) |
| CIE-LCH | lch(43.58, 56.38, 136.11°) |
| OKLab | oklab(50.02% -0.111 0.089) |
| OKLCH | oklch(50.02% 0.142 141.3) |
| XYZ | xyz(7.6802, 13.5473, 3.5062) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.08
Darkish Green
#287C37
ΔE00 4.21
Green
#008000
ΔE00 4.70
Dark Grass Green
#388004
ΔE00 5.32
Darkgreen
#006400
ΔE00 6.56
Forestgreen (CSS)
#228B22
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A761F #6B1F76
analogous
#56761F #2A761F #1F7640
triadic
#2A761F #1F2A76 #761F2A
tetradic
#2A761F #1F5676 #6B1F76 #76401F
square
#2A761F #1F5676 #6B1F76 #76401F
split-complementary
#2A761F #401F76 #761F56
monochromatic
#091806 #194612 #2A761F #3BA62C #54CD42
Accessibility & contrast
On white
5.66
#2A761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#2A761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A761F
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A761F | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1E7265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2a761f; /* rgb */ color: rgb(42, 118, 31); /* oklch */ color: oklch(50.0% 0.142 141.3);
Tailwind
colors: {
custom: {
50: '#6e9e60',
500: '#2a761f',
950: '#000000',
},
}SCSS
$custom: #2a761f; $custom-light: #6e9e60; $custom-dark: #000000;
JSON
{
"hex": "#2a761f",
"rgb": {
"r": 42,
"g": 118,
"b": 31
},
"hsl": {
"h": 112.414,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.50015,
"c": 0.14226,
"h": 141.3
},
"luminance": 0.13548
}Semantic roles & 50–950 ramp
primary
#2A761F
secondary
#9D47AA
accent
#46E2CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79