#2C7A30#2C7A30
#2C7A30 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.133 H 144.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7A30 |
|---|---|
| RGB | rgb(44, 122, 48) |
| HSL | hsl(123, 47%, 33%) |
| HSV | hsv(123, 64%, 48%) |
| CMYK | cmyk(63.9%, 0%, 60.7%, 52.2%) |
| CIE-LAB | lab(45.17, -39.82, 33.02) |
| CIE-LCH | lch(45.17, 51.72, 140.33°) |
| OKLab | oklab(51.41% -0.108 0.078) |
| OKLCH | oklch(51.41% 0.133 144.2) |
| XYZ | xyz(8.5312, 14.6671, 5.1772) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.49
Tree Green
#2A7E19
ΔE00 3.99
Jungle Green
#048243
ΔE00 4.95
Green
#008000
ΔE00 5.78
Dark Grass Green
#388004
ΔE00 6.56
Forestgreen (CSS)
#228B22
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7A30 #7A2C76
analogous
#4F7A2C #2C7A30 #2C7A57
triadic
#2C7A30 #302C7A #7A302C
tetradic
#2C7A30 #2C4F7A #7A2C76 #7A572C
square
#2C7A30 #2C4F7A #7A2C76 #7A572C
split-complementary
#2C7A30 #572C7A #7A2C4F
monochromatic
#0C200D #1C4D1E #2C7A30 #3CA742 #5CC461
Accessibility & contrast
On white
5.34
#2C7A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#2C7A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7A30
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7A30 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6F28
Deuteranopia (green-blind)
#736836
Tritanopia (blue-blind)
#1C776A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2c7a30; /* rgb */ color: rgb(44, 122, 48); /* oklch */ color: oklch(51.4% 0.133 144.2);
Tailwind
colors: {
custom: {
50: '#6fa16b',
500: '#2c7a30',
950: '#000000',
},
}SCSS
$custom: #2c7a30; $custom-light: #6fa16b; $custom-dark: #000000;
JSON
{
"hex": "#2c7a30",
"rgb": {
"r": 44,
"g": 122,
"b": 48
},
"hsl": {
"h": 123.077,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.51405,
"c": 0.13319,
"h": 144.2
},
"luminance": 0.14668
}Semantic roles & 50–950 ramp
primary
#2C7A30
secondary
#AA57A6
accent
#51D0D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A