#2C7A15#2C7A15
#2C7A15 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.152 H 139.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7A15 |
|---|---|
| RGB | rgb(44, 122, 21) |
| HSL | hsl(106, 71%, 28%) |
| HSV | hsv(106, 83%, 48%) |
| CMYK | cmyk(63.9%, 0%, 82.8%, 52.2%) |
| CIE-LAB | lab(44.95, -42.40, 44.15) |
| CIE-LCH | lch(44.95, 61.21, 133.84°) |
| OKLab | oklab(51.15% -0.1165 0.098) |
| OKLCH | oklch(51.15% 0.152 139.9) |
| XYZ | xyz(8.1332, 14.5079, 3.0810) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.43
Green
#008000
ΔE00 3.12
Dark Grass Green
#388004
ΔE00 3.26
Darkish Green
#287C37
ΔE00 5.32
Forestgreen (CSS)
#228B22
ΔE00 6.06
Emerald Green
#028F1E
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7A15 #63157A
analogous
#5E7A15 #2C7A15 #157A31
triadic
#2C7A15 #152C7A #7A152C
tetradic
#2C7A15 #155E7A #63157A #7A3115
square
#2C7A15 #155E7A #63157A #7A3115
split-complementary
#2C7A15 #31157A #7A155E
monochromatic
#091A04 #19460C #2C7A15 #3FAE1E #56DB2E
Accessibility & contrast
On white
5.38
#2C7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#2C7A15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7A15
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7A15 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#217667
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c7a15; /* rgb */ color: rgb(44, 122, 21); /* oklch */ color: oklch(51.1% 0.152 139.9);
Tailwind
colors: {
custom: {
50: '#70a15c',
500: '#2c7a15',
950: '#000000',
},
}SCSS
$custom: #2c7a15; $custom-light: #70a15c; $custom-dark: #000000;
JSON
{
"hex": "#2c7a15",
"rgb": {
"r": 44,
"g": 122,
"b": 21
},
"hsl": {
"h": 106.337,
"s": 70.629,
"l": 28.039
},
"oklch": {
"l": 0.5115,
"c": 0.15223,
"h": 139.9
},
"luminance": 0.14509
}Semantic roles & 50–950 ramp
primary
#2C7A15
secondary
#953BAF
accent
#3AEDC5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79