#2B7F1E#2B7F1E
#2B7F1E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.154 H 141.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7F1E |
|---|---|
| RGB | rgb(43, 127, 30) |
| HSL | hsl(112, 62%, 31%) |
| HSV | hsv(112, 76%, 50%) |
| CMYK | cmyk(66.1%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(46.69, -43.86, 42.67) |
| CIE-LCH | lch(46.69, 61.19, 135.79°) |
| OKLab | oklab(52.6% -0.1198 0.0963) |
| OKLCH | oklch(52.6% 0.154 141.2) |
| XYZ | xyz(8.8195, 15.7852, 3.8101) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.62
Green
#008000
ΔE00 2.71
Dark Grass Green
#388004
ΔE00 3.22
Forestgreen (CSS)
#228B22
ΔE00 4.26
Darkish Green
#287C37
ΔE00 4.63
Emerald Green
#028F1E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7F1E #721E7F
analogous
#5B7F1E #2B7F1E #1E7F41
triadic
#2B7F1E #1E2B7F #7F1E2B
tetradic
#2B7F1E #1E5B7F #721E7F #7F411E
square
#2B7F1E #1E5B7F #721E7F #7F411E
split-complementary
#2B7F1E #411E7F #7F1E5B
monochromatic
#091C07 #1A4D12 #2B7F1E #3CB12A #58D344
Accessibility & contrast
On white
5.05
#2B7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2B7F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7F1E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7F1E | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#1C7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2b7f1e; /* rgb */ color: rgb(43, 127, 30); /* oklch */ color: oklch(52.6% 0.154 141.2);
Tailwind
colors: {
custom: {
50: '#70a561',
500: '#2b7f1e',
950: '#000000',
},
}SCSS
$custom: #2b7f1e; $custom-light: #70a561; $custom-dark: #000000;
JSON
{
"hex": "#2b7f1e",
"rgb": {
"r": 43,
"g": 127,
"b": 30
},
"hsl": {
"h": 111.959,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.52598,
"c": 0.15374,
"h": 141.2
},
"luminance": 0.15786
}Semantic roles & 50–950 ramp
primary
#2B7F1E
secondary
#A447B2
accent
#43E5CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79