#2B7E2F#2B7E2F
#2B7E2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.140 H 144.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7E2F |
|---|---|
| RGB | rgb(43, 126, 47) |
| HSL | hsl(123, 49%, 33%) |
| HSV | hsv(123, 66%, 49%) |
| CMYK | cmyk(65.9%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.50, -41.75, 35.03) |
| CIE-LCH | lch(46.50, 54.50, 140.00°) |
| OKLab | oklab(52.49% -0.1132 0.0823) |
| OKLCH | oklch(52.49% 0.14 144) |
| XYZ | xyz(8.9697, 15.6396, 5.2348) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.98
Tree Green
#2A7E19
ΔE00 3.17
Jungle Green
#048243
ΔE00 4.76
Green
#008000
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 5.37
Dark Grass Green
#388004
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7E2F #7E2B7A
analogous
#507E2B #2B7E2F #2B7E58
triadic
#2B7E2F #2F2B7E #7E2F2B
tetradic
#2B7E2F #2B507E #7E2B7A #7E582B
square
#2B7E2F #2B507E #7E2B7A #7E582B
split-complementary
#2B7E2F #582B7E #7E2B50
monochromatic
#0C230D #1B501E #2B7E2F #3BAC40 #5CC761
Accessibility & contrast
On white
5.09
#2B7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2B7E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7E2F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7E2F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#187B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2b7e2f; /* rgb */ color: rgb(43, 126, 47); /* oklch */ color: oklch(52.5% 0.140 144.0);
Tailwind
colors: {
custom: {
50: '#6fa46a',
500: '#2b7e2f',
950: '#000000',
},
}SCSS
$custom: #2b7e2f; $custom-light: #6fa46a; $custom-dark: #000000;
JSON
{
"hex": "#2b7e2f",
"rgb": {
"r": 43,
"g": 126,
"b": 47
},
"hsl": {
"h": 122.892,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.52486,
"c": 0.13992,
"h": 144
},
"luminance": 0.15641
}Semantic roles & 50–950 ramp
primary
#2B7E2F
secondary
#AD58A9
accent
#4FD2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A