#2A791C#2A791C
#2A791C is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.148 H 141.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A791C |
|---|---|
| RGB | rgb(42, 121, 28) |
| HSL | hsl(111, 62%, 29%) |
| HSV | hsv(111, 77%, 47%) |
| CMYK | cmyk(65.3%, 0%, 76.9%, 52.5%) |
| CIE-LAB | lab(44.59, -42.03, 41.32) |
| CIE-LCH | lch(44.59, 58.93, 135.49°) |
| OKLab | oklab(50.85% -0.1149 0.0932) |
| OKLCH | oklch(50.85% 0.148 141) |
| XYZ | xyz(8.0014, 14.2501, 3.4273) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.87
Green
#008000
ΔE00 3.64
Dark Grass Green
#388004
ΔE00 4.22
Darkish Green
#287C37
ΔE00 4.42
Forestgreen (CSS)
#228B22
ΔE00 6.36
Darkgreen
#006400
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A791C #6B1C79
analogous
#59791C #2A791C #1C793D
triadic
#2A791C #1C2A79 #791C2A
tetradic
#2A791C #1C5979 #6B1C79 #793D1C
square
#2A791C #1C5979 #6B1C79 #793D1C
split-complementary
#2A791C #3D1C79 #791C59
monochromatic
#091906 #194710 #2A791C #3BAB28 #54D23D
Accessibility & contrast
On white
5.45
#2A791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2A791C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A791C
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A791C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A791C | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#1D7567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2a791c; /* rgb */ color: rgb(42, 121, 28); /* oklch */ color: oklch(50.8% 0.148 141.0);
Tailwind
colors: {
custom: {
50: '#6fa05f',
500: '#2a791c',
950: '#000000',
},
}SCSS
$custom: #2a791c; $custom-light: #6fa05f; $custom-dark: #000000;
JSON
{
"hex": "#2a791c",
"rgb": {
"r": 42,
"g": 121,
"b": 28
},
"hsl": {
"h": 110.968,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.50846,
"c": 0.14798,
"h": 141
},
"luminance": 0.14251
}Semantic roles & 50–950 ramp
primary
#2A791C
secondary
#9D44AD
accent
#42E5CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79