#2B7C2E#2B7C2E
#2B7C2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.138 H 143.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7C2E |
|---|---|
| RGB | rgb(43, 124, 46) |
| HSL | hsl(122, 49%, 33%) |
| HSV | hsv(122, 65%, 49%) |
| CMYK | cmyk(65.3%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.81, -41.10, 34.73) |
| CIE-LCH | lch(45.81, 53.80, 139.80°) |
| OKLab | oklab(51.91% -0.1115 0.0815) |
| OKLCH | oklch(51.91% 0.138 143.8) |
| XYZ | xyz(8.6965, 15.1253, 5.0454) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.83
Tree Green
#2A7E19
ΔE00 3.27
Jungle Green
#048243
ΔE00 4.98
Green
#008000
ΔE00 5.06
Dark Grass Green
#388004
ΔE00 5.90
Forestgreen (CSS)
#228B22
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7C2E #7C2B79
analogous
#517C2B #2B7C2E #2B7C56
triadic
#2B7C2E #2E2B7C #7C2E2B
tetradic
#2B7C2E #2B517C #7C2B79 #7C562B
square
#2B7C2E #2B517C #7C2B79 #7C562B
split-complementary
#2B7C2E #562B7C #7C2B51
monochromatic
#0B210C #1B4F1D #2B7C2E #3BA93F #5BC65F
Accessibility & contrast
On white
5.22
#2B7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2B7C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7C2E
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7C2E | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b7c2e; /* rgb */ color: rgb(43, 124, 46); /* oklch */ color: oklch(51.9% 0.138 143.8);
Tailwind
colors: {
custom: {
50: '#6fa36a',
500: '#2b7c2e',
950: '#000000',
},
}SCSS
$custom: #2b7c2e; $custom-light: #6fa36a; $custom-dark: #000000;
JSON
{
"hex": "#2b7c2e",
"rgb": {
"r": 43,
"g": 124,
"b": 46
},
"hsl": {
"h": 122.222,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.5191,
"c": 0.13809,
"h": 143.8
},
"luminance": 0.15126
}Semantic roles & 50–950 ramp
primary
#2B7C2E
secondary
#AC57A9
accent
#50D3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A