#2C702A#2C702A
#2C702A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.125 H 142.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C702A |
|---|---|
| RGB | rgb(44, 112, 42) |
| HSL | hsl(118, 45%, 30%) |
| HSV | hsv(118, 63%, 44%) |
| CMYK | cmyk(60.7%, 0%, 62.5%, 56.1%) |
| CIE-LAB | lab(41.67, -36.54, 31.97) |
| CIE-LCH | lch(41.67, 48.55, 138.82°) |
| OKLab | oklab(48.5% -0.0994 0.0752) |
| OKLCH | oklch(48.5% 0.125 142.9) |
| XYZ | xyz(7.2504, 12.2903, 4.1802) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.36
Darkgreen
#006400
ΔE00 5.97
Tree Green
#2A7E19
ΔE00 6.09
Jungle Green
#048243
ΔE00 7.49
Green
#008000
ΔE00 7.69
Forest Green
#2D5A27
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C702A #6E2A70
analogous
#4F702A #2C702A #2A704B
triadic
#2C702A #2A2C70 #702A2C
tetradic
#2C702A #2A4F70 #6E2A70 #704B2A
square
#2C702A #2A4F70 #6E2A70 #704B2A
split-complementary
#2C702A #4B2A70 #702A4F
monochromatic
#091709 #1B4319 #2C702A #3D9D3B #58BF55
Accessibility & contrast
On white
6.07
#2C702A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2C702A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C702A
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C702A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C702A | 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)
#726623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c702a; /* rgb */ color: rgb(44, 112, 42); /* oklch */ color: oklch(48.5% 0.125 142.9);
Tailwind
colors: {
custom: {
50: '#6d9a66',
500: '#2c702a',
950: '#000000',
},
}SCSS
$custom: #2c702a; $custom-light: #6d9a66; $custom-dark: #000000;
JSON
{
"hex": "#2c702a",
"rgb": {
"r": 44,
"g": 112,
"b": 42
},
"hsl": {
"h": 118.286,
"s": 45.455,
"l": 30.196
},
"oklch": {
"l": 0.48496,
"c": 0.12462,
"h": 142.9
},
"luminance": 0.12291
}Semantic roles & 50–950 ramp
primary
#2C702A
secondary
#A054A2
accent
#53D5D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A