#2A711F#2A711F
#2A711F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.136 H 141.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A711F |
|---|---|
| RGB | rgb(42, 113, 31) |
| HSL | hsl(112, 57%, 28%) |
| HSV | hsv(112, 73%, 44%) |
| CMYK | cmyk(62.8%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(41.85, -38.69, 37.28) |
| CIE-LCH | lch(41.85, 53.73, 136.06°) |
| OKLab | oklab(48.59% -0.1057 0.0852) |
| OKLCH | oklch(48.59% 0.136 141.1) |
| XYZ | xyz(7.1069, 12.4008, 3.3151) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.81
Darkish Green
#287C37
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.23
Green
#008000
ΔE00 6.26
Dark Grass Green
#388004
ΔE00 6.79
Deep Green
#02590F
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A711F #661F71
analogous
#53711F #2A711F #1F713D
triadic
#2A711F #1F2A71 #711F2A
tetradic
#2A711F #1F5371 #661F71 #713D1F
square
#2A711F #1F5371 #661F71 #713D1F
split-complementary
#2A711F #3D1F71 #711F53
monochromatic
#091807 #184112 #2A711F #3CA12C #52CB40
Accessibility & contrast
On white
6.03
#2A711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2A711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A711F
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A711F | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#1F6D61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a711f; /* rgb */ color: rgb(42, 113, 31); /* oklch */ color: oklch(48.6% 0.136 141.1);
Tailwind
colors: {
custom: {
50: '#6d9a60',
500: '#2a711f',
950: '#000000',
},
}SCSS
$custom: #2a711f; $custom-light: #6d9a60; $custom-dark: #000000;
JSON
{
"hex": "#2a711f",
"rgb": {
"r": 42,
"g": 113,
"b": 31
},
"hsl": {
"h": 111.951,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48585,
"c": 0.13579,
"h": 141.1
},
"luminance": 0.12401
}Semantic roles & 50–950 ramp
primary
#2A711F
secondary
#9847A5
accent
#48E0CC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79