#2A741F#2A741F
#2A741F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.140 H 141.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A741F |
|---|---|
| RGB | rgb(42, 116, 31) |
| HSL | hsl(112, 58%, 29%) |
| HSV | hsv(112, 73%, 45%) |
| CMYK | cmyk(63.8%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.89, -39.86, 38.37) |
| CIE-LCH | lch(42.89, 55.33, 136.09°) |
| OKLab | oklab(49.44% -0.1089 0.0875) |
| OKLCH | oklch(49.44% 0.14 141.2) |
| XYZ | xyz(7.4472, 13.0813, 3.4285) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.77
Darkish Green
#287C37
ΔE00 4.45
Green
#008000
ΔE00 5.31
Dark Grass Green
#388004
ΔE00 5.89
Darkgreen
#006400
ΔE00 6.00
Jungle Green
#048243
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A741F #691F74
analogous
#55741F #2A741F #1F743F
triadic
#2A741F #1F2A74 #741F2A
tetradic
#2A741F #1F5574 #691F74 #743F1F
square
#2A741F #1F5574 #691F74 #743F1F
split-complementary
#2A741F #3F1F74 #741F55
monochromatic
#091806 #194412 #2A741F #3BA42C #53CC41
Accessibility & contrast
On white
5.81
#2A741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2A741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A741F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A741F | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#1E7063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a741f; /* rgb */ color: rgb(42, 116, 31); /* oklch */ color: oklch(49.4% 0.140 141.2);
Tailwind
colors: {
custom: {
50: '#6d9d60',
500: '#2a741f',
950: '#000000',
},
}SCSS
$custom: #2a741f; $custom-light: #6d9d60; $custom-dark: #000000;
JSON
{
"hex": "#2a741f",
"rgb": {
"r": 42,
"g": 116,
"b": 31
},
"hsl": {
"h": 112.235,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49443,
"c": 0.13968,
"h": 141.2
},
"luminance": 0.13082
}Semantic roles & 50–950 ramp
primary
#2A741F
secondary
#9B47A8
accent
#47E1CD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79