#2A702F#2A702F
#2A702F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.121 H 144.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A702F |
|---|---|
| RGB | rgb(42, 112, 47) |
| HSL | hsl(124, 45%, 30%) |
| HSV | hsv(124, 63%, 44%) |
| CMYK | cmyk(62.5%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.67, -36.40, 29.38) |
| CIE-LCH | lch(41.67, 46.77, 141.09°) |
| OKLab | oklab(48.49% -0.0987 0.07) |
| OKLCH | oklch(48.49% 0.121 144.6) |
| XYZ | xyz(7.2617, 12.2851, 4.6774) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.15
Darkgreen
#006400
ΔE00 6.57
Tree Green
#2A7E19
ΔE00 6.80
Jungle Green
#048243
ΔE00 6.98
Forest Green
#2D5A27
ΔE00 7.58
Pine
#2B5D34
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A702F #702A6B
analogous
#48702A #2A702F #2A7052
triadic
#2A702F #2F2A70 #702F2A
tetradic
#2A702F #2A4870 #702A6B #70522A
square
#2A702F #2A4870 #702A6B #70522A
split-complementary
#2A702F #522A70 #702A48
monochromatic
#09170A #19431C #2A702F #3B9D42 #55BF5D
Accessibility & contrast
On white
6.07
#2A702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2A702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A702F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A702F | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#1C6D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2a702f; /* rgb */ color: rgb(42, 112, 47); /* oklch */ color: oklch(48.5% 0.121 144.6);
Tailwind
colors: {
custom: {
50: '#6c9a69',
500: '#2a702f',
950: '#000000',
},
}SCSS
$custom: #2a702f; $custom-light: #6c9a69; $custom-dark: #000000;
JSON
{
"hex": "#2a702f",
"rgb": {
"r": 42,
"g": 112,
"b": 47
},
"hsl": {
"h": 124.286,
"s": 45.455,
"l": 30.196
},
"oklch": {
"l": 0.48489,
"c": 0.12098,
"h": 144.6
},
"luminance": 0.12286
}Semantic roles & 50–950 ramp
primary
#2A702F
secondary
#A2549C
accent
#53CCD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A