#2A791A#2A791A
#2A791A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.149 H 140.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A791A |
|---|---|
| RGB | rgb(42, 121, 26) |
| HSL | hsl(110, 65%, 29%) |
| HSV | hsv(110, 79%, 47%) |
| CMYK | cmyk(65.3%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(44.58, -42.18, 42.05) |
| CIE-LCH | lch(44.58, 59.56, 135.09°) |
| OKLab | oklab(50.83% -0.1155 0.0944) |
| OKLCH | oklch(50.83% 0.149 140.7) |
| XYZ | xyz(7.9783, 14.2408, 3.3054) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.80
Green
#008000
ΔE00 3.51
Dark Grass Green
#388004
ΔE00 4.04
Darkish Green
#287C37
ΔE00 4.67
Forestgreen (CSS)
#228B22
ΔE00 6.35
Darkgreen
#006400
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A791A #691A79
analogous
#5A791A #2A791A #1A793A
triadic
#2A791A #1A2A79 #791A2A
tetradic
#2A791A #1A5A79 #691A79 #793A1A
square
#2A791A #1A5A79 #691A79 #793A1A
split-complementary
#2A791A #3A1A79 #791A5A
monochromatic
#091905 #19470F #2A791A #3BAB25 #53D439
Accessibility & contrast
On white
5.46
#2A791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2A791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A791A
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A791A | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1D7567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2a791a; /* rgb */ color: rgb(42, 121, 26); /* oklch */ color: oklch(50.8% 0.149 140.7);
Tailwind
colors: {
custom: {
50: '#6fa05e',
500: '#2a791a',
950: '#000000',
},
}SCSS
$custom: #2a791a; $custom-light: #6fa05e; $custom-dark: #000000;
JSON
{
"hex": "#2a791a",
"rgb": {
"r": 42,
"g": 121,
"b": 26
},
"hsl": {
"h": 109.895,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.50831,
"c": 0.14917,
"h": 140.7
},
"luminance": 0.14242
}Semantic roles & 50–950 ramp
primary
#2A791A
secondary
#9B41AD
accent
#40E8CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79