#2C7D1A#2C7D1A
#2C7D1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.153 H 140.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7D1A |
|---|---|
| RGB | rgb(44, 125, 26) |
| HSL | hsl(109, 66%, 30%) |
| HSV | hsv(109, 79%, 49%) |
| CMYK | cmyk(64.8%, 0%, 79.2%, 51%) |
| CIE-LAB | lab(46.01, -43.18, 43.48) |
| CIE-LCH | lch(46.01, 61.28, 134.80°) |
| OKLab | oklab(52.04% -0.1183 0.0974) |
| OKLCH | oklch(52.04% 0.153 140.5) |
| XYZ | xyz(8.5584, 15.2765, 3.4747) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.40
Green
#008000
ΔE00 2.72
Dark Grass Green
#388004
ΔE00 3.00
Darkish Green
#287C37
ΔE00 4.92
Forestgreen (CSS)
#228B22
ΔE00 4.99
Emerald Green
#028F1E
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7D1A #6B1A7D
analogous
#5E7D1A #2C7D1A #1A7D3A
triadic
#2C7D1A #1A2C7D #7D1A2C
tetradic
#2C7D1A #1A5E7D #6B1A7D #7D3A1A
square
#2C7D1A #1A5E7D #6B1A7D #7D3A1A
split-complementary
#2C7D1A #3A1A7D #7D1A5E
monochromatic
#091905 #1A4A0F #2C7D1A #3EB025 #57D63B
Accessibility & contrast
On white
5.18
#2C7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2C7D1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7D1A
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7D1A | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#1F796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c7d1a; /* rgb */ color: rgb(44, 125, 26); /* oklch */ color: oklch(52.0% 0.153 140.5);
Tailwind
colors: {
custom: {
50: '#71a35f',
500: '#2c7d1a',
950: '#000000',
},
}SCSS
$custom: #2c7d1a; $custom-light: #71a35f; $custom-dark: #000000;
JSON
{
"hex": "#2c7d1a",
"rgb": {
"r": 44,
"g": 125,
"b": 26
},
"hsl": {
"h": 109.091,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.52035,
"c": 0.15323,
"h": 140.5
},
"luminance": 0.15277
}Semantic roles & 50–950 ramp
primary
#2C7D1A
secondary
#9D42B1
accent
#3FE9CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79